public static void Process(IStockCount StockCount) { SqlParameter[] _parameters = { new SqlParameter("@ID", StockCount.ID) }; SqlHelper.ExecuteNonQuery(ConnectionString, "sp_StockCounts_Process", _parameters); }
public static void Approve(IStockCount StockCount) { SqlParameter[] _parameters = { new SqlParameter("@ID", StockCount.ID) , new SqlParameter("@Reason", StockCount.Reason) , new SqlParameter("@SysModifier", StockCount.SysModifier) }; SqlHelper.ExecuteNonQuery(ConnectionString, "sp_StockCounts_Approve", _parameters); }