public DeleteAttachmentCommandHandler(
     IFileService fileService,
     IWolkDbContext wolkDbContext,
     IOptions <WolkConfiguration> options)
 {
     _fileService   = fileService;
     _wolkDbContext = wolkDbContext;
     _configuration = options.Value;
 }
Exemplo n.º 2
0
 public UploadBackupCommandHandler(
     IFileService fileService,
     IMapper mapper,
     IWolkDbContext wolkDbContext,
     IOptions <WolkConfiguration> options)
 {
     _fileService       = fileService;
     _mapper            = mapper;
     _wolkDbContext     = wolkDbContext;
     _wolkConfiguration = options.Value;
 }
Exemplo n.º 3
0
 public CreateAttachmentCommandHandler(
     IFileService fileService,
     IMapper mapper,
     IMimeService mimeService,
     IWolkDbContext wolkDbContext,
     IOptions <WolkConfiguration> options)
 {
     _fileService       = fileService;
     _mapper            = mapper;
     _mimeService       = mimeService;
     _wolkDbContext     = wolkDbContext;
     _wolkConfiguration = options.Value;
 }
Exemplo n.º 4
0
 public GetAttachmentQueryHandler(
     IDateTime dateTime,
     IFileService fileService,
     IMapper mapper,
     IWolkDbContext wolkDbContext,
     IOptions <WolkConfiguration> options)
 {
     _dateTime          = dateTime;
     _fileService       = fileService;
     _mapper            = mapper;
     _wolkDbContext     = wolkDbContext;
     _wolkConfiguration = options.Value;
 }
Exemplo n.º 5
0
 public UserController(IOptions <WolkConfiguration> options)
 {
     _configuration = options.Value;
 }