Exemple #1
0
        public async Task <string> Status(UpdateRoleStatusInput input)
        {
            await _roleDomainService.UpdateStatus(input);

            if (input.Status == Common.Status.Valid)
            {
                return("启用角色成功");
            }
            return("禁用角色成功");
        }