public ContentResult BaseRefs() { try { var refBL = new ReferenceBusinessLogic(); var regions = ReferencesProvider.GetClaimSubjectsList(); var companies = ReferencesProvider.GetCompanyList(); var activeCompanies = ReferencesProvider.GetActiveCompanyList(); return(Content(JsonConvert.SerializeObject(new { regions, companies, activeCompanies }), "application/json")); } catch (Exception ex) { return(Content(ex.Message, "application/json")); } }