Exemplo n.º 1
0
 public Booking(Profile bookingProfile, Sommerhus bookingSommerhus, DateTimeOffset bookingFra, DateTimeOffset bookingTil)
 {
     BookingProfile   = bookingProfile;
     BookingSommerhus = bookingSommerhus;
     BookingFra       = bookingFra;
     BookingTil       = bookingTil;
 }
Exemplo n.º 2
0
 public Booking(Profile bookingProfile, Sommerhus bookingSommerhus, DateTimeOffset bookingFra, DateTimeOffset bookingTil)
 {
     BookingProfile = bookingProfile;
     BookingSommerhus = bookingSommerhus;
     BookingFra = bookingFra;
     BookingTil = bookingTil;
 }
Exemplo n.º 3
0
 public void CheckIfBooking(Profile profil, Sommerhus somhus, DateTimeOffset fra, DateTimeOffset til)
 {
     Bookings.Add(new Booking(profil, somhus, fra, til));
 }
 public FavoritSommerhuse(Sommerhus favoritSommerhus, Profile favoritProfile)
 {
     FavoritSommerhus = favoritSommerhus;
     FavoritProfile = favoritProfile;
 }
Exemplo n.º 5
0
 public void CheckIfBooking(Profile profil, Sommerhus somhus, DateTimeOffset fra, DateTimeOffset til)
 {           
     Bookings.Add(new Booking(profil,somhus,fra,til));
 }
Exemplo n.º 6
0
 public void AddFavoritSommerhus(Sommerhus s)
 {
     Favoritter.Add(s);
 }
Exemplo n.º 7
0
 public void AddFavoritSommerhus(Sommerhus s)
 {
     Favoritter.Add(s);
 }
 public FavoritSommerhuse(Sommerhus favoritSommerhus, Profile favoritProfile)
 {
     FavoritSommerhus = favoritSommerhus;
     FavoritProfile   = favoritProfile;
 }
Exemplo n.º 9
0
 public void Addfavorit(Profile pro,Sommerhus som)
 {
     FavoritListe.Add(new FavoritSommerhuse(som,pro));
 }
Exemplo n.º 10
0
 public void Addfavorit(Profile pro, Sommerhus som)
 {
     FavoritListe.Add(new FavoritSommerhuse(som, pro));
 }