public ProductDto(string reference, string name, string description, string categoryReference, PriceDto price, SlotDefinitionDto slotDefinition) { this.Reference = reference; this.Name = name; this.Description = description; this.CategoryReference = categoryReference; this.Price = price; this.SlotDefinition = slotDefinition; }
public ProductDto(string reference, string name, string description, string categoryReference, PriceDto price, List <PartDto> parts, List <ProductMaterialDto> productMaterialList, List <DimensionValuesDto> dimensions, SlotDefinitionDto slotDefinition) { this.Reference = reference; this.Name = name; this.Description = description; this.CategoryReference = categoryReference; this.Price = price; this.Parts = parts; this.ProductMaterialList = productMaterialList; this.Dimensions = dimensions; this.SlotDefinition = slotDefinition; }