public WeatherController(DBModel db, IConfigRepository configRepository, IAPIRepository apiRepository, IWidgetsRepository widgetRepository) { _db = db; _configRepository = configRepository; _apiRepository = apiRepository; _widgetRepository = widgetRepository; }
public WidgetsController(IWidgetsRepository repository) { this.repository = repository; }
public WidgetsController(IWidgetsRepository WidgetsRepository, IAPIRepository IAPIRepository) { _WidgetsRepository = WidgetsRepository; _IAPIRepository = IAPIRepository; }
public WidgetsService(IWidgetsRepository repository) { _repository = repository; }
public WidgetService(IWidgetsRepository widgetsRepository, ISecurityContext securityContext) { _widgetsRepository = ValidationUtil.CheckOnNullAndThrowIfNull(widgetsRepository); _securityContext = ValidationUtil.CheckOnNullAndThrowIfNull(securityContext); _widgetsCollection = new WidgetsCollection(); }