public PurchaseService(IPurchaseRecordRepository purchaseRecordRepository) { if (purchaseRecordRepository == null) { throw new ArgumentNullException("purchaseRecordRepository"); } _purchaseRecordRepository = purchaseRecordRepository; }
public PurchaseService( IPurchaseRecordRepository purchaseRecordRepository ) { if ( purchaseRecordRepository == null ) throw new ArgumentNullException( "purchaseRecordRepository" ); _purchaseRecordRepository = purchaseRecordRepository; }