/// <summary> /// Initializes a new instance of the /// <see cref="ProductMadeService"/> class. /// </summary> /// <param name="repository">The repository.</param> public ProductionEntryService(IProductionEntryRepository repository) { if (repository == null) { throw new ArgumentNullException("repository"); } this.Repository = repository; }
public ProductionEntryService(IProductionEntryRepository productionEntryRepository) { iProductionEntryRepository = productionEntryRepository; }