示例#1
0
 public GetCategoriesOutput CreateCategories(CreateCategoriesInput input)
 {
     var categoryDtos =this.PerformCreateObjects<List<CategoryDto>, CategoryDto, Category>(input.Categories, _categoryRepository);
     return new GetCategoriesOutput
     {
         Categories = categoryDtos
     };
 }
示例#2
0
 public GetCategoriesOutput CreateCategories(CreateCategoriesInput categoriDtos)
 {
     return _productServiceImp.CreateCategories(categoriDtos);
 }