public ViewResult List(UserSelection userSelection)
        {
            var model = new ContextModel(_dayRepository, _languageRepository)
            {
                Message = _messageRepository.Messages.Single(m => m.DayId == userSelection.SelectedDayId && m.LanguageId == userSelection.SelectedLanguageId),
                FlagPath = _languageRepository.Languages.Single(p => p.Id == userSelection.SelectedLanguageId).PartialFlagPath
            };

            return View(model);
        }
        public ActionResult List()
        {
            var todayId = ((int)DateTime.Today.DayOfWeek == 0) ? 7 : (int)DateTime.Today.DayOfWeek;
            var defaultLangId = 1;

            var model = new ContextModel(_dayRepository, _languageRepository)
            {
                Message = _messageRepository.Messages.Single(m => m.DayId == todayId && m.LanguageId == defaultLangId),
                FlagPath = _languageRepository.Languages.Single(p => p.Id == defaultLangId).PartialFlagPath
            };

            return View(model);
        }
        public ViewResult List(UserSelection userSelection)
        {
            var model = new ContextModel()
            {
                Languages = _languageRepository.LanguagesEnumerable,
                Days = _dayRepository.DaysEnumerable,
                Messages = _messageRepository.MessagesEnumerable
                    .Where(
                        m => m.DayId == userSelection.SelectedDayId && m.LanguageId == userSelection.SelectedLanguageId),
                FlagPath = GetImagePath(userSelection.SelectedLanguageId)
            };

            return View(model);
        }
        public ActionResult List()
        {
            var todayId = ((int) DateTime.Today.DayOfWeek == 0) ? 7 : (int) DateTime.Today.DayOfWeek;
            var defaultLangId = 1;
            var model = new ContextModel()
            {
                Languages = _languageRepository.LanguagesEnumerable,
                Days = _dayRepository.DaysEnumerable,
                Messages = _messageRepository.MessagesEnumerable
                    .Where(m => m.DayId == todayId && m.LanguageId == defaultLangId),
                FlagPath = GetImagePath(defaultLangId)
            };

            return View(model);
        }