NerdDinner.Controllers.ServicesController.iCalFeed C# (CSharp) Method

iCalFeed() private method

private iCalFeed ( ) : ActionResult
return ActionResult
        public ActionResult iCalFeed()
        {
            var dinners = dinnerRepository.FindUpcomingDinners();

            if (dinners == null)
                return View("NotFound");

            return new iCalResult(dinners.ToList(), "NerdDinners.ics");
        }