예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SecaoArquivoController"/> class.
 ///     Contrutor padrão do SecaoController.
 /// </summary>
 /// <param name="appService">Application de serviço</param>
 /// <param name="loggerFactory">Factory de gerenciamento de logs</param>
 public SecaoArquivoController(
     ISecaoArquivoAppService appService,
     ILoggerFactory loggerFactory)
     : base(appService)
 {
     this.appService = appService;
     this.logger     = loggerFactory.CreateLogger <SecaoArquivoController>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SecaoAppService"/> class.
 ///     Construtor padrão de <see cref="SecaoAppService"/>.
 /// </summary>
 /// <param name="uow">
 ///     Contrato do Unit of Work. Veja <see cref="IUnitOfWork"/>.
 /// </param>
 /// <param name="mapper">
 ///     Contrato do AutoMapper. Veja <see cref="IMapper"/>.
 /// </param>
 /// <param name="repository">
 ///     O repositório da entidade Secao. Veja <see cref="ISecaoRepository"/>.
 /// </param>
 public SecaoAppService(
     IUnitOfWork uow,
     IMapper mapper,
     ISecaoRepository repository,
     IAzureBlobService azureBlobService,
     ISecaoArquivoAppService secaoArquivoAppService,
     ISecaoArquivoRepository secaoArquivoRepository,
     ITemplateSecaoRepository templateSecaoRepository,
     IDocumentService documentService,
     ITagAppService tagService)
     : base(uow, mapper, repository)
 {
     this.tagService = tagService;
     this.templateSecaoRepository = templateSecaoRepository;
     this.secaoArquivoService     = secaoArquivoAppService;
     this.secaoArquivoRepository  = secaoArquivoRepository;
     this.azureBlobService        = azureBlobService;
     this.documentService         = documentService;
 }