public JsonResult HelpAjax() { var Calcer = new CalcModel(); allDeals = _employee.AllPurchases().Select(d => new PurchaseView(d)); allCars = _employee.GettAllCars().Select(c => new CarView(c)); allModels = _employee.GettAllModels().Select(m => new ModelView(m)); Calcer.AllDeals = allDeals; Calcer.AllCars = allCars; Calcer.AllCarModels = allModels; return(Json(Calcer, JsonRequestBehavior.AllowGet)); }