Example #1
0
        public ActionResult CreateTicket()
        {
            var projects = projectLogic.getAllProjects();

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

            return(View(ProjectUsers));
        }