public async Task <Venue> UpdateAsync(Venue venue) { context.Entry(venue).State = EntityState.Modified; await context.SaveChangesAsync(); return(venue); }
public async Task <Facility> UpdateAsync(Facility facility) { context.Entry(facility).State = EntityState.Modified; await context.SaveChangesAsync(); return(facility); }