Exemple #1
0
 /// <summary>
 /// gets all photos of type
 /// </summary>
 /// <param name="type">type of photo</param>
 /// <returns>DataTable of photos</returns>
 public static DataTable AllPhotos(PhotoType type)
 {
     return(DalHelper.AllFromTable(type.ToString()));
 }
Exemple #2
0
 /// <summary>
 /// Retrieves a list of all users that are signed up
 /// </summary>
 /// <returns>DataTable of all users</returns>
 public static DataTable AllUsers()
 {
     return(DalHelper.AllFromTable("Users"));
 }
Exemple #3
0
 /// <summary>
 /// gets a list of all genres
 /// </summary>
 /// <returns>DataTable of genres</returns>
 public static DataTable AllGenres()
 {
     return(DalHelper.AllFromTable("Genres"));
 }