Beispiel #1
0
 public IActionResult Create()
 {
     ViewBag.userId      = User.FindFirst(ClaimTypes.NameIdentifier).Value;
     ViewBag.TeamLeaders = userLeaderRepository.GetTeamLeaders();
     ViewBag.Developers  = userDeveloperRepository.GetDevelopers();
     return(View());
 }
Beispiel #2
0
 public IActionResult Index()
 {
     ViewBag.devs     = userDeveloperRepository.GetDevelopers();
     ViewBag.managers = userManagerRepository.GetProjectManagers();
     ViewBag.leaders  = userLeaderRepository.GetTeamLeaders();
     return(View());
 }