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(); }
public void AddHall(DataAccess.Hall obj) { repository.Insert(obj); }