Ejemplo n.º 1
0
        public ConferenceViewModel()
        {
            _conferenceService = new ConferenceService();

            foreach (var session in _conferenceService.GetSessions())
            {
                _sessions.Add(new SessionHeaderViewModel
                {
                    Id    = session.Id,
                    Title = session.Title
                });
            }
        }