Example #1
0
 public void UpdateHall(DataAccess.Hall obj)
 {
     repository.Update(obj);
 }
 public void RemoveHall(Hall hall)
 {
     using var context = new LibraryContext();
     context.Halls.Remove(hall);
     context.SaveChanges();
 }
Example #3
0
 public void AddHall(DataAccess.Hall obj)
 {
     repository.Insert(obj);
 }