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