Пример #1
0
 public override bool Delete(object model)
 {
     try
     {
         if (model != null)
         {
             var  wcf       = new WcfService.Service();
             var  obj       = (AnagraficaFornitoreDto)model;
             bool performed = wcf.DeleteAnagraficaFornitore(obj);
             return(performed);
         }
     }
     catch (Exception ex)
     {
         UtilityError.Write(ex);
     }
     return(false);
 }