Beispiel #1
0
        public ActionResult ServiceState()
        {
            var entity = _service.Load("ServiceStates");

            if (entity == null)
            {
                entity = new Core.DataItem
                {
                    K = "ServiceStates",
                    V = ""
                };
                _service.Create(entity, AppUser);
            }
            return(View(entity));
        }
Beispiel #2
0
        public IActionResult Proposer()
        {
            var entity = _service.Load("Proposer");

            if (entity == null)
            {
                entity = new Core.DataItem
                {
                    K = "Approver",
                    V = ""
                };
                _service.Create(entity, AppUser);
            }
            return(View(entity));
        }