public async Task <Place> UpdateAsync(Place Place) { context.Update(Place); await context.SaveChangesAsync(); return(Place); }
public async Task <Report> UpdateAsync(Report Report) { context.Update(Report); await context.SaveChangesAsync(); return(Report); }
public async Task <Exhibition> UpdateAsync(Exhibition Exhibition) { context.Update(Exhibition); await context.SaveChangesAsync(); return(Exhibition); }
public async Task <Event> UpdateAsync(Event Event) { context.Update(Event); await context.SaveChangesAsync(); return(Event); }
public async Task <Information> UpdateAsync(Information Information) { context.Update(Information); await context.SaveChangesAsync(); return(Information); }
public async Task <Address> UpdateAsync(Address Address) { context.Update(Address); await context.SaveChangesAsync(); return(Address); }
public async Task <Colors> UpdateAsync(Colors Colors) { context.Update(Colors); await context.SaveChangesAsync(); return(Colors); }
public async Task <Comment> UpdateAsync(Comment Comment) { context.Update(Comment); await context.SaveChangesAsync(); return(Comment); }
public async Task <Ceremony> UpdateAsync(Ceremony Cermoney) { context.Update(Cermoney); await context.SaveChangesAsync(); return(Cermoney); }
public void Update(int Id, Department entity) { db.Update(entity); db.SaveChanges(); }
public void Update(int Id, Emps newEm) { db.Update(newEm); db.SaveChanges(); }