Beispiel #1
0
        public Product PostProduct(Product product)
        {
            var productBO = (ProductBusiness)BusinessFactory.GetInstance().Get <Product>();

            return(productBO.Save(product));
        }
Beispiel #2
0
        public Transaction PostTransaction(Transaction transaction)
        {
            var transactionBO = (TransactionBusiness)BusinessFactory.GetInstance().Get <Transaction>();

            return(transactionBO.Save(transaction));
        }
 protected T ObterOutraBusiness <T>()
 {
     return(BusinessFactory.GetInstance().Get <T>());
 }