public override async Task AtualizarAsync(Account entity)
 {
     using (var context = new FinancialManagerDbContext())
     {
         context.Entry(entity).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
         await context.SaveChangesAsync();
     }
 }
 public override async Task AtualizarAsync(Transaction entity)
 {
     using (var context = new FinancialManagerDbContext())
     {
         context.Entry(entity).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
         try
         {
             context.Accounts.Attach(entity.Account);
         }
         catch { }
         await context.SaveChangesAsync();
     }
 }