public async Task <bool> SaveAsync()
        {
            int result = await _context.SaveChangesAsync();

            return(result >= 0);
        }
Esempio n. 2
0
 public async Task <bool> SaveAsync()
 {
     return(await _context.SaveChangesAsync() >= 0);
 }