public async Task <bool> SaveChangesAsync()
 {
     try
     {
         return(await context.SaveChangesAsync() >= 0);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Example #2
0
 public async Task <bool> SaveChangesAsync()
 {
     return(await context.SaveChangesAsync() >= 0);
 }