예제 #1
0
 public async Task Delete(Venue model)
 {
     context.Venues.Remove(model);
     await context.SaveChangesAsync();
 }
예제 #2
0
 public async Task EditSave(Venue model)
 {
     context.Venues.Update(model);
     await context.SaveChangesAsync();
 }