コード例 #1
0
 public IActionResult Index(int textId)
 {
     if (TempData["TextId"] != null)
     {
         textId             = Int32.Parse((string)TempData["TextId"]);
         ViewBag.Message    = "Success";
         TempData["TextId"] = null;
     }
     ViewBag.ClickedSortId = _sort.GetSortIdByTextId(textId);
     return(View(_text.ShowTextById(textId)));
 }