public void Dispose()
 {
     _purchaseRepository.Dispose();
     GC.SuppressFinalize(this);
 }