public ActionResult <ProductViewModel> ChangePrice(ProductViewModel product, long newprice) { var resultService = _productServices.ChangePrice(_mapper.Map <Product>(product), newprice); return(_mapper.Map <ProductViewModel>(resultService)); }