Esempio n. 1
0
 public async Task DeleteAsync(CommRates commRate, EntityContextWEB context)
 {
     context.CommRates.Remove(commRate);
     await context.SaveChangesAsync();
 }
Esempio n. 2
0
 public async Task UpdateAsync(CommRates commRate, EntityContextWEB context)
 {
     context.Entry(commRate).State = EntityState.Modified;
     await context.SaveChangesAsync();
 }