コード例 #1
0
 public override bool Delete(object model)
 {
     try
     {
         if (model != null)
         {
             var  wcf       = new WcfService.Service();
             var  obj       = (AccountDto)model;
             bool performed = wcf.DeleteAccount(obj);
             return(performed);
         }
     }
     catch (Exception ex)
     {
         UtilityError.Write(ex);
     }
     return(false);
 }