public IList <AccountGroupEntities> GetAllAccountGroup() { var accgr = _unit.AccountGroupGenericType.GetAll().ToList(); if (accgr.Any()) { return(Ultis.MapList <AccountGroup, AccountGroupEntities>(accgr)); } return(null); }
public IList <QuestionTypeEntities> GettAllQuestionType() { var questiontype = _unit.QuestionTypeGenericType.GetAll().ToList(); if (questiontype.Any()) { return(Ultis.MapList <QuestionType, QuestionTypeEntities>(questiontype)); } return(null); }
public IList <ChoicesEntites> GetAllChoices() { var choices = _unit.ChoiceGenericType.GetAll().ToList(); if (choices.Any()) { return(Ultis.MapList <Choice, ChoicesEntites>(choices)); } return(null); }
public IList <SurveyTypeEntities> GetAllSurveyType() { var data = _unit.SurveyTypeGenericType.GetAll().ToList(); if (data.Any()) { return(Ultis.MapList <SurveyType, SurveyTypeEntities>(data)); } return(null); }
public IList <AnswerEntities> GetAllAnswer() { var answers = _unit.AnswerGenericType.GetAll().ToList(); if (answers.Any()) { return(Ultis.MapList <Answer, AnswerEntities>(answers)); } return(null); }
public IList <QuestionGroupEntities> GettAllQuestionGroup() { var questiongroup = _unit.QuestionGroupGenericType.GetAll().ToList(); if (questiongroup.Any()) { return(Ultis.MapList <QuestionGroup, QuestionGroupEntities>(questiongroup)); } return(null); }
public IList <RolesEntites> GettAllRole() { var roles = _unit.RoleGenericType.GetAll().ToList(); if (roles.Any()) { return(Ultis.MapList <Role, RolesEntites>(roles)); } return(null); }
public IList <QuestionEntities> GettAllQuestion() { var data = _unit.QuestionGenericType.GetAll().ToList(); if (data.Any()) { return(Ultis.MapList <Question, QuestionEntities>(data)); } return(null); }
public IList <AcountsEntities> GetAllAccount() { var acc = _unit.AccontGenericType.GetAll().ToList(); if (acc.Any()) { return(Ultis.MapList <Account, AcountsEntities>(acc)); } return(null); }
/// <summary> /// Lấy tất cả dữ liệu /// </summary> /// <returns></returns> public IList <SurveyInfoEntities> GetAllSurveyInfo() { //throw new NotImplementedException(); var data = _unit.SurveyinfoGenericType.GetAll().ToList(); if (data.Any()) { return(Ultis.MapList <SurveyInfo, SurveyInfoEntities>(data)); } return(null); }