protected override void Dispose(Boolean disposing) { if (SalesRepository != null) { SalesRepository.Dispose(); } base.Dispose(disposing); }
protected override void Dispose(Boolean disposing) { SalesRepository?.Dispose(); base.Dispose(disposing); }
public void Dispose() { _salesRepository.Dispose(); }
public void Dispose() { _salesRepository.Dispose(); GC.SuppressFinalize(this); }