Exemplo n.º 1
0
 public FiltersController(IFiltersService filtersService, IOptions <AppSettings> options)
 {
     _filtersService = filtersService;
     _options        = options;
 }
 public FiltersController(IFiltersService context, IMapper mapper)
 {
     _filtersService = context;
     _mapper         = mapper;
 }
 public EventService(IFiltersService <EventModel> filtersService, IGenericRepository <EventModel> repository, ILogger <EventModel> log)
 {
     this._filtersService = filtersService ?? throw new ArgumentNullException(nameof(filtersService));
     this._repository     = repository ?? throw new ArgumentNullException(nameof(repository));
     this._log            = log ?? throw new ArgumentNullException(nameof(log));
 }
Exemplo n.º 4
0
 public MockFilterController(ILoggerFactory loggerFactory, IFiltersService filtersService) : base(loggerFactory)
 {
     this.filtersService = (FiltersService)filtersService;
 }
        public FilterViewModel(IFiltersService filtersService)
        {
            this.filtersService = filtersService;

            Load();
        }
Exemplo n.º 6
0
 public HomeController(IFiltersService filtersService)
 {
     _filtersService = filtersService;
 }