public async Task <IActionResult> TaskRecomend(int id) { bool success = await _taskRepository.TaskRecomend(id); if (success == true) { return(RedirectToAction(nameof(RecommendTask), new { isRecommend = true })); } return(View()); }