public IActionResult CreateTask(int id) { var sprintId = teamLeaderRepository.GetSprintById(id); ViewBag.developers = teamLeaderRepository.GetDevelopers(sprintId.ProjectId); ViewBag.sprint = id; return(View()); }
public IActionResult EditSprint(int Id) { ViewBag.UId = User.FindFirst(ClaimTypes.NameIdentifier).Value; ViewBag.Sprint = teamLeaderRepository.GetSprintById(Id); return(View()); }