public static ProductOptionDto BuildProductOptionDto() => new ProductOptionDto { Name = RandomBuilder.NextString(), Description = RandomBuilder.NextString(), ProductId = Guid.NewGuid() };
public static ProductDto BuildProductDto() => new ProductDto { Code = RandomBuilder.NextString(), Name = RandomBuilder.NextString(), Description = RandomBuilder.NextString(), Price = RandomBuilder.NextDecimal(), DeliveryPrice = RandomBuilder.NextDecimal() };
public static Product BuildProduct() => new Product { Id = Guid.NewGuid(), Code = RandomBuilder.NextString(), Name = RandomBuilder.NextString(), Description = RandomBuilder.NextString(), Price = RandomBuilder.NextDecimal(), DeliveryPrice = RandomBuilder.NextDecimal() };