public DataRepository(IManufacturerService manufacturerService, IConnectionTypeService connectionTypeService, IScreenTypeService screenTypeService) { _manufacturerService = manufacturerService; _connectionTypeService = connectionTypeService; _screenTypeService = screenTypeService; _manufacturers = new Lazy <List <ManufacturerDto> >(GetManufacturers); _connectionTypes = new Lazy <List <InterfaceForConnectingDto> >(GetConnectionTypes); _screenTypes = new Lazy <List <ScreenTypeDto> >(GetScreenTypes); }
public ScreenTypeController(IScreenTypeService screenTypeService) { _screenTypeService = screenTypeService; }