Fix up usings for the project files.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Threading.Tasks;
|
||||
using FinancialApi.Application;
|
||||
using FinancialApi.Domain;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@@ -8,6 +9,7 @@ public class AccountQuery(AccountDbContext db) : IAccountQuery
|
||||
{
|
||||
public Task<Account?> FindByIdAsync(int id)
|
||||
{
|
||||
return db.Accounts.AsNoTracking().FirstOrDefaultAsync(x => x.Id == id);
|
||||
return db.Accounts.AsNoTracking()
|
||||
.FirstOrDefaultAsync(x => x.Id == id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user