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();
        }
Beispiel #2
0
 public PlantsGridController(IPlantRepository plantRepository, IApplicationGridService applicationGridService, PlantSearchEngine searchEngine)
 {
     this.plantRepository        = plantRepository;
     this.applicationGridService = applicationGridService;
     this.searchEngine           = searchEngine;
 }
Beispiel #3
0
 public FieldController(IApplicationGridService applicationGridService)
 {
     this.applicationGridService = applicationGridService;
 }
Beispiel #4
0
 public VendorsController(IVendorRepository vendorRepository, IApplicationGridService applicationGridService, VendorGridSearchEngine searchEngine)
 {
     this.vendorRepository       = vendorRepository;
     this.applicationGridService = applicationGridService;
     this.searchEngine           = searchEngine;
 }