Пример #1
0
 public virtual void Create(string name, string description)
 {
     Drug drug = new Drug(DateTime.Now.Ticks, name, description);
     _drugs.Add(drug);
 }
Пример #2
0
 public virtual void Checkout()
 {
     _drugs = new DrugCollection();
     Drug drug = new Drug(1, "name", "description");
     _drugs.Add(drug);
 }