Пример #1
0
 public ActionResult <ScriptViewModel> GetScriptDetail(string name)
 {
     if (_scriptService.GetScriptDetail(name) != null)
     {
         return(_scriptService.GetScriptDetail(name));
     }
     else
     {
         return(NotFound());
     }
 }