示例#1
0
 public IActionResult GetVideoGameById(string name)
 {
     try
     {
         return(Ok(_videoGameService.GetVideoGameByName(name)));
     }
     catch (Exception)
     {
         return(NotFound());
     }
 }