/// <summary> /// Retrieves data on all the companies and their employees /// </summary> /// <returns></returns> public ActionResult Index() { List <Company> Companies = null; try { Companies = CompanyEngine.GetCompanies(true); } catch (Exception exception) { HandleException(exception); } return(Json(Companies, JsonRequestBehavior.AllowGet)); }