Пример #1
0
        public IActionResult Edit(int id = 0)
        {
            var m = systemRoleBusiness.SingleById(id);

            if (m == null)
            {
                m = new SystemRole();
            }

            ViewBag.m = m;
            return(View());
        }