コード例 #1
0
 public IActionResult Unpublish(string id)
 {
     _ideaService.UnpublishAsync(id);
     return(RedirectToAction(nameof(Details), new { id }));
 }