Пример #1
0
        public async Task <IActionResult> RemoveRoleAsync(Int32 roleId)
        {
            #region 参数验证
            Check.IfNullOrZero(roleId);
            #endregion

            await _securityServices.RemoveRoleAsync(roleId);

            return(Json(new ResponseSimple
            {
                IsSuccess = true,
                Message = "移除角色成功"
            }));
        }