Esempio n. 1
0
 public object GetInfoAboutMaterial(string materialName)
 {
     try
     {
         return(_materialsService.GetInfoAboutMaterial(new MaterialDto {
             materialName = materialName
         }));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }