public IActionResult OnPostLikeDeleteComment(int commentId, [FromServices] UserManager <User> userManager) { _likeService.DeleteLikeByComemntId(commentId, userManager.GetUserAsync(HttpContext.User).Id); return(RedirectToPage("./Index")); }
public IActionResult OnPostLikeDeleteComment(int commentId, [FromServices] UserManager <User> userManager) { _likeService.DeleteLikeByComemntId(commentId, userManager.GetUserAsync(HttpContext.User).Id); return(RedirectToPage("./Index")); }