public ProfitLossService(IProfitLossRepository profitLossRepository, IConfigurationRepository configurationRepository) { this._profitLossRepository = profitLossRepository; this._configurationRepository = configurationRepository; }
public FileDownloadService(IProfitLossRepository profitLossRepository, IMapper mapper) { this._profitLossRepository = profitLossRepository; this._mapper = mapper; }
public EmailService(IProfitLossRepository profitLossRepository, IConfiguration configuration) { this._profitLossRepository = profitLossRepository; Configuration = configuration; }
/// <summary> /// 构造函数 /// </summary> public ProfitLossService() { this.profitLossRepository = new ProfitLossRepository(); this.purchaseService = new PurchaseService(); }