/// <summary> /// Retrieves all pending submissions in the database. /// </summary> /// <returns> /// All currently existing pending submissions, cast to PendingDisplayModels. /// </returns> internal static List <PendingDisplayModel> GetPendingSubmissionsList() { var rawDbValues = DbAccess.GetPendingSubmissionsList(); return(rawDbValues.Select(x => new PendingDisplayModel(x)).ToList()); }