public bool DeleteTheater(int id) { var theaterToDelete = _theatersRepository.Get(id); if (theaterToDelete == null) { return(false); } _theatersRepository.Delete(theaterToDelete); _theatersRepository.Save(); return(true); }
public List <Theater> Get() { return(_theaterRepository.Get()); }