Exemplo n.º 1
0
        public async Task <IResponseEntity> SoftDeleteAsync(string id)
        {
            if (id == null || id == "")
            {
                return(ResponseEntity.Error("删除对象的主键获取失败"));
            }

            var result = await _sysUserRepository.SoftDeleteAsync(id);

            return(ResponseEntity.Result(result));
        }