public ManualsController(IManualsService manualsService, IAttachmentsService attachmentsService,
                          IMapper mapper)
 {
     _manualsService     = manualsService;
     _attachmentsService = attachmentsService;
     _mapper             = mapper;
 }
Example #2
0
 internal Attachments(IListDataService listDataService, IListItemDataService listItemDataService, IAttachmentsService attachmentsService, ICacheService cacheService)
 {
     this.listDataService     = listDataService;
     this.listItemDataService = listItemDataService;
     this.attachmentsService  = attachmentsService;
     this.cacheService        = cacheService;
 }
 public AttachmentController(IAttachmentsService AttachmentService, ILookupService LookupService, ISessionService sessionService, ICrimeCaseService CrimeCaseService)
 {
     this.AttachmentService = AttachmentService;
     this.LookupService     = LookupService;
     this.sessionService    = sessionService;
     this.CrimeCaseService  = CrimeCaseService;
 }
Example #4
0
 public AttachmentController(IAttachmentsService attachmentsService, ISessionService sessionService,
     FileUploadConfigModel fileUploadConfig)
 {
     _attachmentsService = attachmentsService;
     _sessionService = sessionService;
     _fileUploadConfig = fileUploadConfig;
 }
Example #5
0
 public UploadsController(IWebHostEnvironment environment, IOptions <AppSettings> appSettings,
                          IAttachmentsService attachmentsService, IMapper mapper)
 {
     _environment        = environment;
     _appSettings        = appSettings.Value;
     _attachmentsService = attachmentsService;
     _mapper             = mapper;
 }
 public NotesController(INotesService notesService, ISubjectsService subjectsService, ITermsService termsService,
                        IAttachmentsService attachmentsService, IQuestionsService questionsService, IMapper mapper)
 {
     _notesService       = notesService;
     _subjectsService    = subjectsService;
     _termsService       = termsService;
     _attachmentsService = attachmentsService;
     _questionsService   = questionsService;
     _mapper             = mapper;
 }
Example #7
0
        public RecruitQuestionsController(IDataService dataService, IQuestionsService questionsService,
                                          IAttachmentsService attachmentsService, ISubjectsService subjectsService, IMapper mapper)
        {
            _dataService = dataService;

            _questionsService   = questionsService;
            _attachmentsService = attachmentsService;
            _subjectsService    = subjectsService;
            _mapper             = mapper;
        }
        public QuestionsController(IQuestionsService questionsService, IRecruitsService recruitsService, IAttachmentsService attachmentsService,
                                   ISubjectsService subjectsService, ITermsService termsService, IMapper mapper)
        {
            _questionsService   = questionsService;
            _recruitsService    = recruitsService;
            _attachmentsService = attachmentsService;
            _subjectsService    = subjectsService;
            _termsService       = termsService;

            _mapper = mapper;
        }
Example #9
0
 public RequestsController(
     IWebHostEnvironment environment,
     IRequestsService requestsService,
     IAttachmentsService attService,
     ApplicationDbContext dbContext)
 {
     this.environment     = environment;
     this.requestsService = requestsService;
     this.attService      = attService;
     this.dbContext       = dbContext;
 }
 public MessagesUpdatedNodeNoticeHandler(NodeNotice notice,
                                         NodeConnection nodeConnection,
                                         IConversationsNoticeService conversationsNoticeService,
                                         IUpdateMessagesService updateMessagesService,
                                         IAttachmentsService attachmentsService)
 {
     this.notice                     = (MessagesUpdatedNodeNotice)notice;
     this.nodeConnection             = nodeConnection;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateMessagesService      = updateMessagesService;
     this.attachmentsService         = attachmentsService;
 }
 public ResolvesController(IResolvesService resolvesService, IReviewRecordsService reviewRecordsService,
                           INotesService notesService, ITermsService termsService,
                           IAttachmentsService attachmentsService, IOptions <AdminSettings> adminSettings, IMapper mapper)
 {
     _resolvesService      = resolvesService;
     _reviewRecordsService = reviewRecordsService;
     _notesService         = notesService;
     _termsService         = termsService;
     _attachmentsService   = attachmentsService;
     _adminSettings        = adminSettings.Value;
     _mapper = mapper;
 }
Example #12
0
 public StaffController(ICourseService courseService, IWebHostEnvironment env,
                        IAttachmentsService attachmentsService,
                        IHubContext <NotificationHub> notificationHubContext,
                        UserManager <User> userManager,
                        IConfiguration configuration)
 {
     _courseService      = courseService;
     _attachmentsService = attachmentsService;
     _env = env;
     _notificationHubContext = notificationHubContext;
     _userManager            = userManager;
     _util = new Utilities(configuration.GetConnectionString("DefaultConnection"));
 }
Example #13
0
 public StudentController(
     RoleManager <Role> roleManager,
     UserManager <User> userManager,
     ICourseService courseService,
     IAttachmentsService attachmentsService,
     IUserCourseService userCourseService)
 {
     _roleManager        = roleManager;
     _userManager        = userManager;
     _courseService      = courseService;
     _attachmentsService = attachmentsService;
     _userCourseService  = userCourseService;
 }
Example #14
0
        public EmailsService(IEmailsRepository repository, IAESCryptography aesCryptography,
                             IMailSenderService mailSender, ILogFactory logFactory, IAttachmentsService attachmentsService)
        {
            if (logFactory == null)
            {
                throw new ArgumentNullException(nameof(logFactory));
            }

            _repository         = repository;
            _aesCryptography    = aesCryptography;
            _mailSender         = mailSender;
            _log                = logFactory.CreateLog(this);
            _attachmentsService = attachmentsService;
        }
 public EmailController(UserManager <User> userManager,
                        IEmailService emailService,
                        IEmailStatusService emailStatusService,
                        ILoanApplicationService applicationService,
                        IAttachmentsService attachmentsService,
                        IToastNotification toast)
 {
     this.userManager        = userManager;
     this.emailService       = emailService;
     this.emailStatusService = emailStatusService;
     this.applicationService = applicationService;
     this.attachmentsService = attachmentsService;
     this.toast = toast;
 }
Example #16
0
 public EditMessageRequestHandler(
     Request request,
     ClientConnection clientConnection,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IUpdateMessagesService updateMessagesService,
     IAttachmentsService attachmentsService)
 {
     this.request                    = (EditMessageRequest)request;
     this.clientConnection           = clientConnection;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.updateMessagesService      = updateMessagesService;
     this.attachmentsService         = attachmentsService;
 }
Example #17
0
 public IssuesController(
     IIssuesService issuesService,
     ICategoriesService categoriesService,
     IAttachmentsService attService,
     IWebHostEnvironment environment,
     ICommentsService commentsService,
     IInstitutionsService institutionsService)
 {
     this.issuesService       = issuesService;
     this.categoriesService   = categoriesService;
     this.attService          = attService;
     this.environment         = environment;
     this.commentsService     = commentsService;
     this.institutionsService = institutionsService;
 }
 public ConvertToExcelController(
     IUserService userService,
     IUserTaskService taskService,
     INoteService noteService,
     IFileService fileService,
     ITasksContainerService tasksContainerService,
     IAttachmentsService attachmentsService
     )
 {
     _userService           = userService;
     _userTaskService       = taskService;
     _noteService           = noteService;
     _fileService           = fileService;
     _tasksContainerService = tasksContainerService;
     _attachmentsService    = attachmentsService;
 }
Example #19
0
        public DataController(IOptions <RootSubjectSettings> rootSubjectSettings, IOptions <AdminSettings> adminSettings,
                              IDataService dataService, ISubjectsService subjectsService, ITermsService termsService, INotesService notesService,
                              IRecruitsService recruitsService, IQuestionsService questionsService, IAttachmentsService attachmentsService, IMapper mapper)
        {
            _adminSettings       = adminSettings.Value;
            _rootSubjectSettings = rootSubjectSettings.Value;
            _subjectsService     = subjectsService;
            _termsService        = termsService;
            _notesService        = notesService;
            _recruitsService     = recruitsService;
            _questionsService    = questionsService;
            _attachmentsService  = attachmentsService;

            _dataService = dataService;

            _mapper = mapper;
        }
Example #20
0
 public SendMessagesRequestHandler(
     Request request,
     ClientConnection current,
     INodeNoticeService nodeNoticeService,
     IConversationsNoticeService conversationsNoticeService,
     IAttachmentsService attachmentsService,
     ICreateMessagesService createMessagesService,
     ILoadDialogsService loadDialogsService)
 {
     this.request                    = (SendMessagesRequest)request;
     userId                          = current.UserId ?? 0;
     this.current                    = current;
     this.nodeNoticeService          = nodeNoticeService;
     this.conversationsNoticeService = conversationsNoticeService;
     this.attachmentsService         = attachmentsService;
     this.createMessagesService      = createMessagesService;
     this.loadDialogsService         = loadDialogsService;
 }
        public ExamsController(UserManager <User> userManager, IDataService dataService,
                               IAttachmentsService attachmentsService, IQuestionsService questionsService, IResolvesService resolvesService,
                               IExamsService examsService, ISubjectsService subjectsService, IRecruitsService recruitsService,
                               IMapper mapper)
        {
            _userManager = userManager;

            _dataService = dataService;

            _questionsService   = questionsService;
            _resolvesService    = resolvesService;
            _attachmentsService = attachmentsService;
            _examsService       = examsService;
            _subjectsService    = subjectsService;
            _recruitsService    = recruitsService;

            _mapper = mapper;
        }
Example #22
0
 public RequestsService(
     IDeletableEntityRepository <IssueRequest> requestsRepo,
     IAttachmentsService attService,
     IInstitutionsService institutionsService,
     ICitizensService citizensService,
     IIssuesService issuesService,
     IDeletableEntityRepository <Issue> issuesRepo,
     IRepository <IssueRequestAttachment> issueRequestAttsService,
     IDeletableEntityRepository <Attachment> attRepo)
 {
     this.requestsRepo            = requestsRepo;
     this.attService              = attService;
     this.institutionsService     = institutionsService;
     this.citizensService         = citizensService;
     this.issuesService           = issuesService;
     this.issuesRepo              = issuesRepo;
     this.issueRequestAttsService = issueRequestAttsService;
     this.attRepo = attRepo;
 }
Example #23
0
 public NewMessagesNoticeHandler(CommunicationObject @object,
                                 NodeConnection current,
                                 IConversationsNoticeService conversationsNoticeService,
                                 IAttachmentsService attachmentsService,
                                 ICreateMessagesService createMessagesService,
                                 ICreateChannelsService createChannelsService,
                                 INodeRequestSender nodeRequestSender,
                                 ICrossNodeService crossNodeService,
                                 ILoadDialogsService loadDialogsService)
 {
     notice       = (NewMessagesNodeNotice)@object;
     this.current = current;
     this.conversationsNoticeService = conversationsNoticeService;
     this.attachmentsService         = attachmentsService;
     this.createMessagesService      = createMessagesService;
     this.createChannelsService      = createChannelsService;
     this.nodeRequestSender          = nodeRequestSender;
     this.crossNodeService           = crossNodeService;
     this.loadDialogsService         = loadDialogsService;
 }
 public GetMessagesRequestHandler(Request request,
                                  ClientConnection clientConnection,
                                  IConnectionsService connectionsService,
                                  ILoadMessagesService loadMessagesService,
                                  ICreateMessagesService createMessagesService,
                                  IAttachmentsService attachmentsService,
                                  ILoadChatsService loadChatsService,
                                  IConversationsService conversationsService,
                                  INodeRequestSender nodeRequestSender)
 {
     this.request               = (GetMessagesRequest)request;
     this.clientConnection      = clientConnection;
     this.connectionsService    = connectionsService;
     this.loadMessagesService   = loadMessagesService;
     this.createMessagesService = createMessagesService;
     this.attachmentsService    = attachmentsService;
     this.loadChatsService      = loadChatsService;
     this.conversationsService  = conversationsService;
     this.nodeRequestSender     = nodeRequestSender;
 }
 public AttachmentsController(AttachmentsService attachmentService, ApplicationUserManager userManager) : base(userManager)
 {
     _attachmentsService = attachmentService;
 }
 public AttachmentsController(IAttachmentsService service)
 {
     _service = service;
 }
Example #27
0
 public FolderAttachmentController(IAttachmentsService AttachmentService, ISessionService sessionService, ICrimeCaseService CrimeCaseService)
 {
     this.AttachmentService = AttachmentService;
     this.sessionService    = sessionService;
     this.CrimeCaseService  = CrimeCaseService;
 }
Example #28
0
 public AttachmentsTests()
 {
     TestsData testsData = TestsData.Create(nameof(AttachmentsTests));
     attachmentsService = testsData.AppServiceProvider.AttachmentsService;
     fillTestDbHelper = testsData.FillTestDbHelper;
 }
Example #29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttachmentsController"/> class.
 /// </summary>
 /// <param name="AttachmentService">The attachment service.</param>
 public AttachmentsController(IAttachmentsService AttachmentService)
 {
     this.m_AttachmentsService = AttachmentService;
 }
 public AttachmentsController(IHostingEnvironment hostingEnvironment, IAttachmentsService AttachmentsService)
 {
     _hostingEnvironment = hostingEnvironment;
     _AttachmentsService = AttachmentsService;
 }