Пример #1
0
 public PetsStatusController(IPetsStatusManagementService petsStatusManagementService,
                             IStringLocalizer <PetsStatusController> localizer, IOptions <AppSettings> appSettings,
                             IBackendErrorsService backendErrorsService, IAuthService authService) : base(backendErrorsService, localizer, appSettings, authService)
 {
     _petsStatusManagementService = petsStatusManagementService;
     _appSettings = appSettings;
 }
Пример #2
0
 public NewsController(IFilesManagementService filesManagementService, INewsManagementService newsManagementService,
                       IStringLocalizer <NewsController> localizer,
                       IOptions <AppSettings> appSettings, IBackendErrorsService backendErrorsService, IAuthService authService)
     : base(backendErrorsService, localizer, appSettings, authService)
 {
     _filesManagementService = filesManagementService;
     _newsManagementService  = newsManagementService;
     _appSettings            = appSettings;
 }
Пример #3
0
 public OrganizationController(
     IOrganizationManagementService organizationManagementService,
     IStringLocalizer <OrganizationController> localizer,
     IOptions <AppSettings> appSettings,
     IBackendErrorsService backendErrorsService,
     IAuthService authService) : base(backendErrorsService, localizer, appSettings, authService)
 {
     _organizationManagementService = organizationManagementService;
 }
Пример #4
0
 public CommentsController(ICommentsManagementService commentsManagementService,
                           IPetsManagementService petsManagementService,
                           IBackendErrorsService backendErrorsService,
                           IStringLocalizer <CommentsController> localizer,
                           IOptions <AppSettings> settings, IAuthService authService,
                           IMemoryCache memoryCache) : base(backendErrorsService, localizer, settings, authService, memoryCache)
 {
     _commentsManagementService = commentsManagementService;
     _petsManagementService     = petsManagementService;
 }
Пример #5
0
 protected TozControllerBase(IBackendErrorsService backendErrorsService, IStringLocalizer <T> localizer,
                             IOptions <AppSettings> settings, IAuthService authService,
                             IMemoryCache memoryCache = null)
 {
     BackendErrorsService = backendErrorsService;
     StringLocalizer      = localizer;
     AppSettings          = settings.Value;
     AuthService          = authService;
     MemoryCache          = memoryCache;
 }
Пример #6
0
 public ScheduleController(
     IScheduleManagementService scheduleManagementService,
     IUsersManagementService usersManagementService,
     IStringLocalizer <ScheduleController> localizer,
     IOptions <AppSettings> appSettings,
     IBackendErrorsService backendErrorsService,
     IAuthService authService) : base(backendErrorsService, localizer, appSettings, authService)
 {
     _scheduleManagementService = scheduleManagementService;
     _usersManagementService    = usersManagementService;
 }
Пример #7
0
 public HowToHelpController(IHowToHelpInformationService howToHelpInformationService, IBackendErrorsService backendErrorsService,
                            IStringLocalizer <HowToHelpController> localizer, IOptions <AppSettings> settings, IAuthService authService)
     : base(backendErrorsService, localizer, settings, authService)
 {
     _howToHelpInformationService = howToHelpInformationService;
 }
Пример #8
0
 public HomeController(IStringLocalizer <HomeController> localizer, IOptions <AppSettings> appSettings,
                       IBackendErrorsService backendErrorsService, IAuthService authService) : base(backendErrorsService, localizer, appSettings, authService)
 {
 }
Пример #9
0
 public RestService(IBackendErrorsService backendErrorsService)
 {
     _backendErrorsService = backendErrorsService;
 }
Пример #10
0
 public HelpersController(IHelpersManagementService helpersManagementService,
                          IStringLocalizer <HelpersController> localizer, IOptions <AppSettings> appSettings, IBackendErrorsService backendErrorsService, IAuthService authService) : base(backendErrorsService, localizer, appSettings, authService)
 {
     _helpersManagementService = helpersManagementService;
 }
Пример #11
0
 public AccountController(IAccountManagementService accountManagementService, IBackendErrorsService backendErrorsService, IStringLocalizer <AccountController> localizer, IOptions <AppSettings> appSettings, IAuthService authService) : base(backendErrorsService, localizer, appSettings, authService)
 {
     _accountManagementService = accountManagementService;
 }
Пример #12
0
 public ProposalsController(IProposalsManagementService proposalsManagementService, IBackendErrorsService backendErrorsService,
                            IStringLocalizer <ProposalsController> localizer, IOptions <AppSettings> appSettings, IAuthService authService)
     : base(backendErrorsService, localizer, appSettings, authService)
 {
     _proposalsManagementService = proposalsManagementService;
 }