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

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

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