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;
 }
Exemple #3
0
 public WidgetsController(IWidgetsRepository WidgetsRepository, IAPIRepository IAPIRepository)
 {
     _WidgetsRepository = WidgetsRepository;
     _IAPIRepository    = IAPIRepository;
 }
 public WidgetsService(IWidgetsRepository repository)
 {
     _repository = repository;
 }
 public WidgetsController(IWidgetsRepository repository)
 {
     this.repository = repository;
 }
Exemple #6
0
		public WidgetService(IWidgetsRepository widgetsRepository, ISecurityContext securityContext)
		{
			_widgetsRepository = ValidationUtil.CheckOnNullAndThrowIfNull(widgetsRepository);
			_securityContext = ValidationUtil.CheckOnNullAndThrowIfNull(securityContext);
			_widgetsCollection = new WidgetsCollection();
		}