コード例 #1
0
 public IActionResult Tricks(string name, string trick)
 {
     if (string.IsNullOrEmpty(name))
     {
         return(RedirectToAction("Login"));
     }
     foxService.AddTrick(name, trick);
     return(View(foxService.FindFox(name)));
 }