Ejemplo n.º 1
0
        /// <summary>
        /// Account data fetch from DB
        /// </summary>
        /// <returns></returns>
        private List <UserOAuthenticationModel> FetchAllUserData()
        {
            string query = GetSelectQueryString.GetQuery(ConstUserOAuthentication.TableName);
            var    userOAuthentications = _dataLayer.Fetch <UserOAuthenticationModel>(new Fetch(query));

            return(userOAuthentications);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Fetcha All Student Data
        /// </summary>
        /// <returns></returns>
        private List <StudentDetailsModel> FetchAllStudentDetails()
        {
            string query          = GetSelectQueryString.GetQuery(ConstStudentDetails.TableName);
            var    studentDetails = _dataLayer.Fetch <StudentDetailsModel>(new Fetch(query));

            return(studentDetails);
        }