public ActionResult CreateTicket() { var projects = projectLogic.getAllProjects(); ViewBag.ProjectId = new SelectList(projects, "Id", "Name"); return(View()); }
public ActionResult UserIndex() { var projects = projectLogic.getAllProjects(); var ProjectUsers = projectLogic.CreateProjectViewModel(projects); return(View(ProjectUsers)); }