示例#1
0
 public void Remove(Guid id)
 {
     _sysUserRepository.Remove(id);
 }
示例#2
0
 public void DeleteAccount(Entities.SysUser account)
 {
     service.Remove(account);
 }
示例#3
0
 public async Task <bool> DeleteUser(string userId)
 {
     _userRepository.Remove(userId);
     return(await _uow.CommitAsync() > 0);
 }