Exemple #1
0
 public DinnerApplicant(User user, Dinner dinner)
 {
     User = user;
     Dinner = dinner;
     Accepted = false;
     Rejected = false;
 }
Exemple #2
0
 public Dinner(
     User user, Location location, string starter, string main, string dessert, bool dry, string description, DateTime date)
 {
     User = user;
     Location = location;
     Starter = starter;
     Main = main;
     Dessert = dessert;
     Dry = dry;
     Description = description;
     Date = date;
     Applicants = Applicants ?? new List<DinnerApplicant>();
 }