Example #1
0
        public IActionResult GuestList()
        {
            var responses = Repository.GuestResponses().Where(r => r.WillAttend == true);

            //if (responses.Count == 0)
            //{
            //    return View("OfferSpecialDrink");
            //}

            return(View(responses));
        }
        public IActionResult GuestList()
        {
            var responses = Repository.GuestResponses().Where(r => r.WillAttend == true);

            return(View(responses));
        }