public ActionResult Index() { var objmodel = new VendorSetupManagementModel(); ViewBag.AccountSection = true; eTracLoginModel objLoginSession = new eTracLoginModel(); objLoginSession = (eTracLoginModel)Session["eTrac"]; try { long CountryId = 1; ViewBag.Country = _ICommonMethod.GetAllcountries(); ViewBag.StateList = _ICommonMethod.GetStateByCountryId(CountryId); ViewBag.JobTitleList = _ICommonMethod.GetGlobalCodeData("UserJobTitle"); ViewBag.ClientInvoicingTerm = _IGlobalAdmin.ListClientInvoicingTerm(); ViewBag.VendorType = _IVendorManagement.ListVendorType(); ViewBag.OperatingHolder = _IGlobalAdmin.ListCompanyHolder(true); ViewBag.ContractType = _IGlobalAdmin.ListContractType(); ViewBag.PaymentModeList = _IVendorManagement.PaymentModeList(); ViewBag.PaymentTermList = _IVendorManagement.PaymentTermList(); ViewBag.CostCodeList = _IVendorManagement.ListAllCostCode(); ViewBag.LocationListData = _ICommonMethod.ListAllLocation(); } catch (Exception ex) { ViewBag.Message = ex.Message; ViewBag.AlertMessageClass = ObjAlertMessageClass.Danger; return(View("Error")); } return(View("~/Areas/AdminSection/Views/AdminCompany/Index.cshtml", objmodel));//D:\Project\eTrac\WorkOrderEMS\Areas\AdminSection\Views\AdminCompany\CompanyView.cshtml }