public CustomerLedgerReportProcessor( ICompanyQueryProcessor companyQueryProcessor, ICustomerLedgerProcessor customerLedgerProcessor ) { this.companyQueryProcessor = companyQueryProcessor; this.customerLedgerProcessor = customerLedgerProcessor; }
/// <summary> /// constructor /// </summary> public CustomerLedgerController( ICustomerLedgerProcessor customerLedgerProcessor, IHubContext <ProgressHub> hubContext ) { this.customerLedgerProcessor = customerLedgerProcessor; this.hubContext = hubContext; }
/// <summary> /// constructor /// </summary> public CustomerLedgerController( ICustomerLedgerProcessor customerLedgerProcessor ) { this.customerLedgerProcessor = customerLedgerProcessor; this.hubContext = Microsoft.AspNet.SignalR.GlobalHost.ConnectionManager.GetHubContext <Hubs.ProgressHub>(); }
public CustomerLedgerService( IAuthorizationProcessor authorizationProcessor, ICustomerLedgerProcessor customerLedgerProcessor, ILogManager logManager) { this.authorizationProcessor = authorizationProcessor; this.customerLedgerProcessor = customerLedgerProcessor; logger = logManager.GetLogger(typeof(CustomerLedgerService)); hubContext = GlobalHost.ConnectionManager.GetHubContext <Hubs.ProgressHub>(); }