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