Пример #1
0
 public FilesController(IFileService fileService, IFileRepository fileRepository,
                        IUserRepository userRepository, IThesisService thesisService, IUserContext userContext)
 {
     _fileRepository = fileRepository;
     _fileService    = fileService;
     _userRepository = userRepository;
     _thesisService  = thesisService;
     _userContext    = userContext;
 }
 public HomeController(
     IThesisService thesisService,
     IUploadFileService uploadFileService,
     ContextService ContextService)
 {
     this.ThesisService     = thesisService;
     this.UploadFileService = uploadFileService;
     this.ContextService    = ContextService;
 }
Пример #3
0
 public FileService(IOptions <ApplicationOptions> options, IFileRepository fileRepository, IThesisRepository thesisRepository,
                    ILogger <FileService> logger, IUserContext userContext, IUserRepository userRepository, IThesisService thesisService)
 {
     _options          = options.Value;
     _fileRepository   = fileRepository;
     _thesisRepository = thesisRepository;
     _logger           = logger;
     _userContext      = userContext;
     _userRepository   = userRepository;
     _thesisService    = thesisService;
 }
Пример #4
0
 public AuthController(IUsosService usosService, IJWTAuthenticationService jwtService,
                       IAsyncRepository <User> userRepository, IOptions <UsosServiceOptions> usosOptions,
                       IOptions <ApplicationOptions> appOptions, IMapper mapper, IThesisService thesisService)
 {
     _usosService    = usosService;
     _jwtService     = jwtService;
     _userRepository = userRepository;
     _usosOptions    = usosOptions.Value;
     _appOptions     = appOptions.Value;
     _mapper         = mapper;
     _thesisService  = thesisService;
 }
Пример #5
0
 public ThesesController(IUsosService usosService, IMapper mapper, IUserRepository userRepository,
                         IThesisRepository thesisRepository, IAsyncRepository <Keyword> keywordRepository,
                         IFileService fileService, ISettingsService settingsService, IThesisService thesisService,
                         IUserContext userContext, IEmailService emailService)
 {
     _usosService       = usosService;
     _mapper            = mapper;
     _userRepository    = userRepository;
     _thesisRepository  = thesisRepository;
     _keywordRepository = keywordRepository;
     _fileService       = fileService;
     _settingsService   = settingsService;
     _thesisService     = thesisService;
     _userContext       = userContext;
     _emailService      = emailService;
 }
Пример #6
0
 public ReviewsController(IReviewRepository reviewRepository,
                          IThesisRepository thesisRepository, IUserRepository userRepository,
                          IAsyncRepository <Question> questionRepository,
                          IAsyncRepository <ThesisLog> thesisLogRepository,
                          IFileService fileService, IAsyncRepository <Answer> answerRepository,
                          ISettingsService settingsService, IUserContext userContext, IUsosService usosService,
                          IReviewService reviewService, IThesisService thesisService, IEmailService emailService)
 {
     _reviewRepository   = reviewRepository;
     _thesisRepository   = thesisRepository;
     _userRepository     = userRepository;
     _questionRepository = questionRepository;
     _answerRepository   = answerRepository;
     _settingsService    = settingsService;
     _userContext        = userContext;
     _usosService        = usosService;
     _reviewService      = reviewService;
     _thesisService      = thesisService;
     _emailService       = emailService;
 }
 public ThesesController(IThesisService thesisService, IMapper mapper)
 {
     _thesisService = thesisService;
     _mapper        = mapper;
 }
Пример #8
0
 public ThesisController(IThesisService thesisService)
 {
     _thesisService = thesisService;
 }