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"); }
public void AddKunde(Kunder Name) { Kunder.Add(Name); }