// GET: Monitor/Create
        public ActionResult Create()
        {
            var messengers = _messengerRepository.List();

            var model = new MonitorViewModel()
            {
                Messengers = messengers
            };

            return(View(model));
        }
Example #2
0
        // GET: Messenger
        public ActionResult Index()
        {
            var messengers = _messengerRepository.List();

            return(View(messengers));
        }