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