Пример #1
0
        public ActionResult <string> Create(Permission permission)
        {
            var result = _permissionService.CreateRole(permission);

            if (result)
            {
                return("permission create successfully");
            }
            else
            {
                return("permission create unsuccessfully");
            }
        }