public void AddIncom(int goods_pk, int provider_pk, int price, int count) { //b logic PgP.InsertIncom(goods_pk, provider_pk, price, count); incom = PgP.GetIncom(); stock = PgP.GetStocks(); }
public WH(IDALWH dl) { PgP = dl; prvds = PgP.GetPrvds(); cs = PgP.GetConsumers(); gs = PgP.GetGoods(); incom = PgP.GetIncom(); stock = PgP.GetStocks(); leaving = PgP.GetLeav(); //PgP.InsertIncom(1, 4, 100, 33); }