public ActionResult CalculateFullValueOfAllProducts(string ShopId) { double? FullValue = _shopService.CalculateFullValueOfAllProducts(ShopId); JsonResult Response = new JsonResult(); Response.JsonRequestBehavior = JsonRequestBehavior.AllowGet; Response.Data = FullValue; return(Response); }