Example #1
0
        public ActionResult CreateEvent()
        {
            CreateEventViewModel model = new CreateEventViewModel();

            model.AllGroups     = _groupService.GetAllGroups();
            model.AllSnippets   = _snippetService.GetAllSnippets(1, 20);
            model.AllOperations = _snippetService.GetAllOperations();
            return(View(model));
        }