Exemplo n.º 1
0
        public IActionResult Charter()
        {
            AdminCharterModel m = new AdminCharterModel();
            var contents        = Domain.GetCharterFor(null, false, true, true).ToList();

            contents.Add(new CharterContent {
                Position = contents.Count() + 1
            });
            m.Contents = contents;
            return(View(m));
        }
Exemplo n.º 2
0
        public IActionResult Index()
        {
            AdminCharterModel m = GetModel();

            return(View(m));
        }