コード例 #1
0
        public ActionResult Index()
        {
            int monthNum = DateTime.Now.Month;
            RaidCalendar c = new RaidCalendar(monthNum, eventInterface);
            c.PopulateEventsForThisMonth(eventInterface, MemberInfo.MemberID);

            return View(c);
        }
コード例 #2
0
        public ViewResult DisplayMonth(int monthNum, int year)
        {
            RaidCalendar c = new RaidCalendar(monthNum, year, eventInterface);
            c.PopulateEventsForThisMonth(eventInterface, MemberInfo.MemberID);

            return View("Index", c);
        }