/// <summary> /// Get all Galleries with Photo count /// </summary> /// <param name="commandText"></param> /// <returns></returns> public List <Gallery> RetrieveAllGalleriesWithPhotoCount() { // const string sql = ""; List <Gallery> gallery = galleryDb.RetrieveAllGalleriesWithPhotoCount("Gallery_SelectAllGalleriesWithPhotoCount"); return(gallery); }
/// <summary> /// Get all Galleries with Photo count /// </summary> /// <param name="commandText"></param> /// <returns></returns> public List <Gallery> RetrieveAllGalleriesWithPhotoCount() { List <Gallery> gallery = galleryDb.RetrieveAllGalleriesWithPhotoCount("Gallery_SelectAllGalleriesWithPhotoCount"); return(gallery); }