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