/// <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); }
/// <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); }
/// <summary> /// Account data fetch from DB /// </summary> /// <returns></returns> private UserOAuthenticationModel FetchUserData() { string query = GetSelectQueryString.GetQuery(ConstUserOAuthentication.TableName); var userOAuthentication = _dataLayer.FetchSingle <UserOAuthenticationModel>(new Fetch(query)); return(userOAuthentication); }
/// <summary> /// Student data fetch from DB /// </summary> /// <returns></returns> private StudentDetailsModel FetchStudentDetailsData() { string query = GetSelectQueryString.GetQuery(ConstStudentDetails.TableName); var studentDetail = _dataLayer.FetchSingle <StudentDetailsModel>(new Fetch(query)); return(studentDetail); }