コード例 #1
0
 ///
 /// Returns the IPTC Data of the n-th Database Entry
 ///
 public static IPTCModel GetIPTC(int id)
 {
     return(EH.Try <IPTCModel>(() => DataAccessLayer.GetIPTC(id)));
 }
コード例 #2
0
 ///
 /// Returns a list of all Photographers
 ///
 public static List <PhotographerModel> GetAllPhotographers()
 {
     return(EH.Try(DataAccessLayer.GetAllPhotographers));
 }
コード例 #3
0
 ///
 /// Returns the EXIF-Data of the n-th Database Entry
 ///
 public static EXIFModel GetEXIF(int id)
 {
     return(EH.Try <EXIFModel>(() => DataAccessLayer.GetEXIF(id)));
 }
コード例 #4
0
 ///
 /// Gets the n-th Photographer from the Database
 ///
 public static PhotographerModel GetPhotographer(int id)
 {
     return(EH.Try(() => DataAccessLayer.GetPhotographer(id)));
 }