Exemple #1
0
        public string AddSize(ProductSizeDTO productSizeDTO)
        {
            ProductSize size = new ProductSize();

            size.Value = productSizeDTO.Value;

            _context.productSize.Add(size);
            _context.SaveChanges();
            return("Color Added Succesfully");
        }
Exemple #2
0
 public Task UpdateAsync(ProductSizeDTO model)
 {
     throw new NotImplementedException();
 }
Exemple #3
0
 public IActionResult AddColor(ProductSizeDTO prdReq)
 {
     return(Ok(_prd.AddSize(prdReq)));
 }