예제 #1
0
 public IActionResult ActivatePost(int postId)
 {
     _postRepository.ActivatePost(postId);
     return(RedirectToAction("Index"));
 }