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)); }
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)); }