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