public IActionResult EditTask(UpdateTaskDto updateTaskDto) { teamLeaderRepository.UpdateSprintTask(updateTaskDto); return(RedirectToAction("ShowSprints", new RouteValueDictionary( new { controller = "TeamLeader", action = "ShowTasks", Id = updateTaskDto.SprintId }))); }