public IActionResult Details(int Id) { ViewBag.Statuses = _statusService.GetStatusesByRootType(RootTypes.PotentialCLient); ViewBag.Managers = _userService.GetManagers(); ViewBag.ProjectTypes = _projectService.GetProjectTypes(); ViewBag.Sources = _sourceService.All(); return(View(_potentialClientService.GetById(Id))); }
public IActionResult Index() { ConfigurationModel model = new ConfigurationModel(); model.Sources = _sourceService.All(); model.objFinanceSubTypes = _financeService.GetFSubTypes(); model.Tasks = _participantService.GetTasks(); model.ProjectTypes = _projectService.GetProjectTypes(); return(View(model)); }