public SampleOrderReportingService(ISampleOrderService sampleOrderService) { if (sampleOrderService == null) { throw new ArgumentNullException("sampleOrderService"); } _sampleOrderService = sampleOrderService; }
public SampleRequestsController(ISampleOrderService customerService, IUserIdentityProvider userIdentityProvider) { if (customerService == null) { throw new ArgumentNullException("customerService"); } if (userIdentityProvider == null) { throw new ArgumentNullException("userIdentityProvider"); } _sampleOrderService = customerService; _userIdentityProvider = userIdentityProvider; }