restores the bill
This commit is contained in:
parent
1dea649d4a
commit
c8223c17ae
6 changed files with 23 additions and 19 deletions
|
|
@ -42,8 +42,7 @@ namespace Yavsc.Services
|
|||
public async Task<IBillable> GetBillAsync(string billingCode, long queryId)
|
||||
{
|
||||
var dbFunc = Startup.Billing[billingCode];
|
||||
IBillable query = null;
|
||||
await Task.Run(()=> dbFunc(DbContext, queryId));
|
||||
IBillable query = await Task.Run(()=> dbFunc(DbContext, queryId));
|
||||
return query;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue