public ActionResult Create()
 {
     ViewData["BugPriorityId"] = new SelectList(bugPriorityRepository.GetAllBugPriorities(), "Id", "BugPriorityType");
     ViewData["BugStatusId"]   = new SelectList(bugStatusRepository.GetAllBugStatus(), "Id", "BugStatusType");
     ViewData["ProjectId"]     = new SelectList(projectRepository.GetAllProjects(), "Id", "Name");
     return(View());
 }
Beispiel #2
0
        public ActionResult Index()
        {
            var model = bugStatusRepository.GetAllBugStatus();

            return(View(model));
        }