Exemplo n.º 1
0
 public string RentBog(int id, int days, Kunder kunde)
 {
     Bog[id].isRented = true;
     Bog[id].dueDate  = days;
     Bog[id].rentedBy = kunde;
     kunde.AddBog(Bog[id]);
     return("You have rented " + Bog[id].title + " in " + Bog[id].dueDate + " days");
 }
Exemplo n.º 2
0
 public void AddKunde(Kunder Name)
 {
     Kunder.Add(Name);
 }