/// <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); }