Exemplo n.º 1
0
        public void Create(Factura factura)
        {
            crudFactura.Create(factura);

            /*
             * try
             * {
             *  var f = crudFactura.Retrieve<Factura>(factura);
             *
             *  if (f != null)
             *  {
             *      throw new BussinessException(1);
             *  }
             *
             * }
             * catch (Exception ex)
             * {
             *  ExceptionManager.GetInstance().Process(ex);
             * }*/
        }
Exemplo n.º 2
0
 public Factura Create(Factura factura, Envio envio)
 {
     return(facturaCrudFactory.Create(factura, envio));
 }