/// <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>(); }
public PropostasController(IPropostaAppService propostaAppService, IDomainNotificationHandler <DomainNotification> notifications, IUser user) : base(notifications, user) { _propostaAppService = propostaAppService; }