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