public IActionResult Save(ProductEditViewModel productVM) { var product = productVM.ToModel(); product.Image = UploadImage(productVM.Image); _productBLL.Save(product); SetMessage($"Product Id {product.Id} Saved Succesfuly"); return(RedirectToAction("Liste")); }