예제 #1
0
        public IActionResult Edit(int?id)
        {
            if (id != null)
            {
                var item = _service.GetRoleItem(id.Value);
                return(View(item));
            }

            return(View());
        }