public async Task <IActionResult> AddLikeAnswer(AnswerModel model) { var userId = _userManager.GetUserId(User); var user = await _userManager.FindByIdAsync(userId); var likeAnswer = BuildAnswerLike(model, user); await _questionImplementation.AddAnswerLike(likeAnswer); return(RedirectToAction("Index", "Question", new { id = model.QuestionId })); }