public int InsertOrder(OrderModel order) { //SqlDataAccess sql = new SqlDataAccess(); int newOrderId = _sqlDataAccess.CreateOrder("dbo.spOrder_Insert", order, "TulipData"); return(newOrderId); }
public int InsertOrder(OrderModel order) { int newOrderId = _sql.CreateOrder("dbo.spOrder_Insert", order, "TulipData"); return(newOrderId); }