public ResponseDto <List <ProductCategoryListDto> > GetList(ProductCategoryGetListCriteriaDto criteriaDto) { ProductCategoryGetListCriteriaBo criteriaBo = new ProductCategoryGetListCriteriaBo() { ProductCategoryId = criteriaDto.ProductCategoryId, IsUpper = criteriaDto.IsUpper, Session = Session }; ResponseBo <List <ProductCategoryListBo> > responseBo = productCategoryBusiness.GetList(criteriaBo); ResponseDto <List <ProductCategoryListDto> > responseDto = responseBo.ToResponseDto <List <ProductCategoryListDto>, List <ProductCategoryListBo> >(); if (responseBo.IsSuccess && responseBo.Bo != null) { responseDto.Dto = new List <ProductCategoryListDto>(); foreach (ProductCategoryListBo itemBo in responseBo.Bo) { responseDto.Dto.Add(new ProductCategoryListDto() { Id = itemBo.Id, Name = itemBo.Name, UrlName = itemBo.UrlName, IsLast = itemBo.IsLast, ParentId = itemBo.ParentId }); } } return(responseDto); }