예제 #1
0
        public static List <SubmissionModel> LoadSubmissions()
        {
            string sqlQuery = @"SELECT FirstName, LastName, EmailAddress
                                FROM dbo.Submission;";

            return(DBDataAccess.LoadData <SubmissionModel>(sqlQuery));
        }