public IEnumerable<Show> GetShows(int indexFirstElement, int numberOfResults)
 {
     IReaderLimit<Show> business = new ShowBusiness();
     return business.Get(indexFirstElement, numberOfResults);
 }
 public void EditShow(Show element, string username, string password)
 {
     IManager<Show> business = new ShowBusiness();
     business.Edit(element, username, password);
 }
 public Show GetShow(int code)
 {
     IReader<Show> business = new ShowBusiness();
     return business.Get(code);
 }
 public void DeleteShow(int code, string username, string password)
 {
     IManager<Show> business = new ShowBusiness();
     business.Delete(code, username, password);
 }
 public int AddShow(Show element, string username, string password)
 {
     IManager<Show> business = new ShowBusiness();
     return business.Add(element, username, password);
 }
Example #6
0
 public IEnumerable<Show> SearchShows(string keywords)
 {
     ISearchable<Show> business = new ShowBusiness();
     return business.Search(keywords);
 }
Example #7
0
 public IEnumerable<Show> GetShows()
 {
     IReader<Show> business = new ShowBusiness();
     return business.Get();
 }
Example #8
0
 public int GetShowLastInsertedId()
 {
     IReaderLimit<Show> business = new ShowBusiness();
     return business.GetLastInsertedId();
 }