Example #1
0
 private void Delete(Guid ProductID)
 {
     try
     {
         RuleProduct.Delete(ProductID);
     }
     catch (Exception ex)
     {
         Msg.Err(ex.Message);
     }
 }
Example #2
0
 private void Delete()
 {
     try
     {
         if (this.Exist)
         {
             RuleProduct.Delete(this._Product.ProductID);
         }
         else
         {
             Msg.Adv("Seleccione un producto para eliminarlo.");
         }
         this.Clear();
     }
     catch (Exception ex)
     {
         Msg.Err(ex.Message);
     }
 }