public IActionResult Discount(Discount_viewmodel model, int id)
        {
            if (model.product == null)
            {
                return(NotFound());
            }
            _Iproduct.Discount(model.discount, id);



            return(RedirectToAction("index"));
        }