public ApplicationServices(IDomainServices domainServices, IPurchaseReportFactory reportFactory) { this.domainServices = domainServices; this.loggedInUsername = string.Empty; this.reportFactory = reportFactory; }
public User(string username, IAccount account, IPurchaseReportFactory purchaseReportFactory) { Username = username; this.account = account; this.purchaseReportFactory = purchaseReportFactory; }
public DomainServices(IUserRepository userRepository, IProductRepository productRepository, IPurchaseReportFactory reportFactory) { this.userRepository = userRepository; this.productRepository = productRepository; this.reportFactory = reportFactory; }
public User(string username, IAccount account, IPurchaseReportFactory reportFactory) { this.Username = username; this.account = account; this.reportFactory = reportFactory; }