Ejemplo n.º 1
0
 public GetProductsOutput CreateProducts(CreateProductsInput input)
 {
     var productDtos = this.PerformCreateObjects<List<ProductDto>, ProductDto, Product>(input.Products, _productRepository);
     return new GetProductsOutput
     {
         Products = productDtos
     };
 }
Ejemplo n.º 2
0
 public GetProductsOutput CreateProducts(CreateProductsInput productsDtos)
 {
     return _productServiceImp.CreateProducts(productsDtos);
 }