Example #1
0
 public FileServerService(IImagemRepository imagemRepository,
                          IGeekStoreDbContextService geekStoreDbContextService,
                          INotificationService notification,
                          IOptions <FileServerSettings> fileServerSettings) : base(notification)
 {
     _imagemRepository          = imagemRepository;
     _fileServerSettings        = fileServerSettings.Value;
     _geekStoreDbContextService = geekStoreDbContextService;
 }
Example #2
0
 public ProdutoService(IProdutoRepository produtoRepository,
                       IGeekStoreDbContextService geekStoreDbContextService,
                       IFileServerService fileServerService,
                       INotificationService notificador,
                       IImagemRepository imagemRepository) : base(notificador, produtoRepository)
 {
     _produtoRepository         = produtoRepository;
     _geekStoreDbContextService = geekStoreDbContextService;
     _fileServerService         = fileServerService;
     _imagemRepository          = imagemRepository;
 }