示例#1
0
 public IActionResult GetByLanguage(string Language)
 {
     try
     {
         return(Ok(_service.GetByLanguage(Language)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }
 public IActionResult GetByLanguage(string language)
 {
     return(Ok(_service.GetByLanguage(language)));
 }