public Int32 InsertInvoice(Invoice invoice) { using (var sqlquerygenerator = new SqlQueryGenerator <Invoice>()) { return(dapperService.Insert <Invoice>(sqlquerygenerator.GetInsert(), invoice)); } }
public Int32 Insert(Supplier supplier) { using (var sqlquerygenerator = new SqlQueryGenerator <Supplier>()) { return(dapperService.Insert <Supplier>(sqlquerygenerator.GetInsert(), supplier)); } }
public Int32 Insert(Customer customer) { using (var sqlquerygenerator = new SqlQueryGenerator <Customer>()) { return(dapperService.Insert <Customer>(sqlquerygenerator.GetInsert(), customer)); } }
public Int32 Insert(Tax tax) { using (var sqlquerygenerator = new SqlQueryGenerator <Tax>()) { return(dapperService.Insert <Tax>(sqlquerygenerator.GetInsert(), tax)); } }
public Int32 Insert(Category category) { using (var sqlquerygenerator = new SqlQueryGenerator <Category>()) { return(dapperService.Insert <Category>(sqlquerygenerator.GetInsert(), category)); } }
public Int32 Insert(Product product) { using (var sqlquerygenerator = new SqlQueryGenerator <Product>()) { return(dapperService.Insert <Product>(sqlquerygenerator.GetInsert(), product)); } }