Example #1
0
 public void DeleteCutTemplate(Sender sender, Guid TemplateID)
 {
     try
     {
         using (ObjectProxy op = new ObjectProxy(true))
         {
             op.DeleteCutTemplateByTemplateID(TemplateID);
             op.CommitTransaction();
         }
     }
     catch (Exception ex)
     {
         PLogger.LogError(ex);
         throw ex;
     }
 }