public BoughtDrugSuply ReturnToSuply() { BoughtDrugSuply bds = this.BoughtDrugSuply; bds.Count += this.Count; return(bds); }
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); }