public void Initialize() { var configService = new ConfigService( new SettingsRepository(), new ApplicationRepository(), new FieldRepository(), new DatabaseRepository(), new CachingServiceMock() ); var applicationService = new SimpleApplicationService(); service = new ApplicationGridService(configService, applicationService); itemNumberRepository = new ItemNumberRepository(); }
public PlantsGridController(IPlantRepository plantRepository, IApplicationGridService applicationGridService, PlantSearchEngine searchEngine) { this.plantRepository = plantRepository; this.applicationGridService = applicationGridService; this.searchEngine = searchEngine; }
public FieldController(IApplicationGridService applicationGridService) { this.applicationGridService = applicationGridService; }
public VendorsController(IVendorRepository vendorRepository, IApplicationGridService applicationGridService, VendorGridSearchEngine searchEngine) { this.vendorRepository = vendorRepository; this.applicationGridService = applicationGridService; this.searchEngine = searchEngine; }