public IActionResult ActivatePost(int postId) { _postRepository.ActivatePost(postId); return(RedirectToAction("Index")); }