Example #1
0
        public static DinnerGuests DefaultHomeForDinnerModel()
        {
            var dinnerGuests = new List <DinnerGuest>()
            {
                DinnerGuest.CreateHomeForDinnerGuest(1, "Nick"),
                DinnerGuest.CreateNotHomeForDinnerGuest(2, "Steve", SampleReasons[0])
            };


            var myDinnerGuestStatus  = DinnerGuest.CreateHomeForDinnerGuest(1, "Nick");
            var dinnerGuestSelfModel = new DinnerGuestSelfStatus(myDinnerGuestStatus, SampleReasons);

            return(new DinnerGuests(dinnerGuestSelfModel, dinnerGuests));
        }
Example #2
0
 public static DinnerGuest DinnerGuestHomeModel()
 {
     return(DinnerGuest.CreateHomeForDinnerGuest(1, "Nick"));
 }