Example #1
0
 ///
 /// Gets the n-th Photographer from the Database
 ///
 public static PhotographerModel GetPhotographer(int id)
 {
     return(EH.Try(() => DataAccessLayer.GetPhotographer(id)));
 }
Example #2
0
 ///
 /// Creates a new Photographer in the Database
 ///
 public static void CreatePhotographer(PhotographerViewModel vm)
 {
     DataAccessLayer.CreatePhotographer(vm);
 }
Example #3
0
 public BusinessLayer()
 {
     DAL = new DataAccessLayer();
 }