Esempio n. 1
0
        public BoughtDrugSuply ReturnToSuply()
        {
            BoughtDrugSuply bds = this.BoughtDrugSuply;

            bds.Count += this.Count;
            return(bds);
        }
Esempio n. 2
0
        BoughtDrugSuply Buy(DrugSuply suply)
        {
            BoughtDrugSuply bds = new BoughtDrugSuply()
            {
                Count              = suply.Count,
                DeliveryTime       = suply.DeliveryTime,
                Drug               = suply.Drug,
                DrugDistributor    = this,
                DrugSuplier        = suply.DrugSuplier,
                Price              = suply.Price,
                UnitsOfMeasurement = suply.UnitsOfMeasurement
            };

            return(bds);
        }