Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PropostaController"/> class.
 ///     Contrutor padrão do PropostaController.
 /// </summary>
 /// <param name="appService">Application de serviço</param>
 /// <param name="loggerFactory">Factory de gerenciamento de logs</param>
 public PropostaController(
     IPropostaAppService appService,
     ILoggerFactory loggerFactory)
     : base(appService)
 {
     this.appService = appService;
     this.logger     = loggerFactory.CreateLogger <PropostaController>();
 }
Пример #2
0
 public PropostasController(IPropostaAppService propostaAppService, IDomainNotificationHandler <DomainNotification> notifications, IUser user) : base(notifications, user)
 {
     _propostaAppService = propostaAppService;
 }