public ResponseDto <List <ProductCategoryRawListDto> > GetRawList(ProductCategoryGetListAdminCriteriaDto criteriaDto) { ProductCategoryGetListAdminCriteriaBo criteriaBo = new ProductCategoryGetListAdminCriteriaBo() { ParentId = criteriaDto.ParentId, Session = Session }; ResponseBo <List <ProductCategoryListAdminBo> > responseBo = productCategoryBusiness.GetListAdmin(criteriaBo); ResponseDto <List <ProductCategoryRawListDto> > responseDto = responseBo.ToResponseDto <List <ProductCategoryRawListDto>, List <ProductCategoryListAdminBo> >(); if (responseBo.IsSuccess && responseBo.Bo != null) { responseDto.Dto = new List <ProductCategoryRawListDto>(); foreach (ProductCategoryListAdminBo itemBo in responseBo.Bo) { responseDto.Dto.Add(new ProductCategoryRawListDto() { Id = itemBo.Id, Name = itemBo.Name, ParentId = itemBo.ParentId }); } } return(responseDto); }