//GET: Contractors public ActionResult Contragents() { var crmManager = new CRMManager(); ViewBag.Clients = crmManager.GetClients(); var hrManager = new HRManager(); ViewBag.Humans = hrManager.GetHumans(); return(View()); }
// GET: Finances public ActionResult Index() { var mng = new FinanceManager(); var mng_hr = new HRManager(); var mng_crm = new CRMManager(); ViewBag.contragentName = mng.GetFinContragents(); ViewBag.typeName = mng.GetFinTypes(); ViewBag.projectName = mng.GetProjects(); ViewBag.statusName = mng.GetFinStatuses(); ViewBag.hrName = mng_hr.GetHumans(); ViewBag.crmName = mng_crm.GetClients(); return(View()); }