public Product PostProduct(Product product) { var productBO = (ProductBusiness)BusinessFactory.GetInstance().Get <Product>(); return(productBO.Save(product)); }
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>()); }