Exemplo n.º 1
0
 public Dto.ArticoloDto CreateArticolo(Dto.ArticoloDto articolo)
 {
     try
     {
         var wcf = new EntitiesModelService();
         var dtoKey = wcf.CreateArticolo(articolo);
         var newArticolo = wcf.ReadArticolo(dtoKey);
         return newArticolo;
     }
     catch (Exception ex)
     {
         UtilityError.Write(ex);
     }
     return null;
 }