public ActionResult Index()
        {
            var meetings = new MeetingsRepository().GetUpcommingMeetings();

            ViewData.Model = MeetingsMapHelper.CreateMeetingMapModel(meetings, Url);

            return View();
        }
示例#2
0
 public AlertsService(IEmailAdapter emailAdapter, ITwitterAdapter twitterAdapter)
 {
     _emailAdapter = emailAdapter;
     _twitterAdapter = twitterAdapter;
     _meetingsRepository = new MeetingsRepository();
 }