Exemple #1
0
 public async Task <int> DeleteAsync(Guid id)
 {
     dbContext.Set <TModel>().Remove(dbContext.Find <TModel>(id));
     return(await dbContext.SaveChangesAsync());
 }