Exemple #1
0
        public IHttpActionResult GetAllCareerForms(int page = Page, int pagesize = PageSize)
        {
            var             getAllDataForCareerForm = _careerFormService.GetAllCareerForms(page, pagesize, TenantId);
            var             careerFormList          = Mapper.Map <List <CareerFormModel> >(getAllDataForCareerForm.Data);
            PagedResultsDto results = new PagedResultsDto();

            results.TotalCount = getAllDataForCareerForm.TotalCount;
            results.Data       = Mapper.Map <List <CareerFormModel>, List <CareerFormDto> >(careerFormList);
            return(PagedResponse("GetAllCareerForms", Page, PageSize, results.TotalCount, careerFormList, results.IsParentTranslated));
        }
Exemple #2
0
 public PagedResultsDto GetAllCareerForms(int page, int pageSize, int tenantId)
 {
     return(_CareerFormService.GetAllCareerForms(page, pageSize, tenantId));
 }