コード例 #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
ファイル: BusinessLayer.cs プロジェクト: v3rena/BIF-SS17-SWE2
 public BusinessLayer()
 {
     DAL = new DataAccessLayer();
 }