public ActionResult GetAllUtilitiesDataForChart(int addressId) { var model = new CustomerModel(); var dataForChart = model.GetAllUtilitiesDataForChart(addressId); return(Json(dataForChart, JsonRequestBehavior.AllowGet)); }