// GET: CalendarEvents public ActionResult CalendarEvents() { return(Json(EventViewModelsFactory.CalendarEventsJsonFrom(CPProfile.CalendarEvents), JsonRequestBehavior.AllowGet)); }
// GET: Announcement/{id} public ActionResult Announcement(int id) { return(View(EventViewModelsFactory.AnnouncementFrom(GetAnnouncement(id)))); }
public ActionResult Upcoming(bool condensed = false) { return(PartialView(EventViewModelsFactory.UpcomingEvents(CPProfile.ReminderEvents, condensed))); }
public ActionResult Announcements() { return(PartialView(EventViewModelsFactory.AnnouncementsFrom(GetAnnouncements()))); }