Example #1
0
 // GET: Ticket
 public ActionResult List()
 {
     ViewData["Users"]            = _userService.All(OperatingUser.CompanyId);
     ViewData["TicketCategories"] = _ticketService.GetCategories(OperatingUser.CompanyId);
     ViewData["TicketPriorities"] = _ticketService.GetPriorties(OperatingUser.CompanyId);
     ViewData["TicketProjects"]   = _ticketService.GetProjects(OperatingUser.CompanyId);
     ViewData["TicketTypes"]      = _ticketService.GetTypes(OperatingUser.CompanyId);
     ViewData["TicketStatusus"]   = _ticketService.GetStatusus(OperatingUser.CompanyId);
     return(View(new List <Ticket>()));
 }