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