public async Task <IActionResult> CreateTeamLeader(CreateDto createDto) { { if (ModelState.IsValid) { await userTeamLeaderRepository.CreateTeamLeader(createDto); return(Redirect("Index")); } else { return(View()); } } }