/// <summary> /// /// </summary> public void Dispose() { if (_historicInvestmentRepository != null) { _historicInvestmentRepository = null; } }
/// <summary> /// /// </summary> public HistoricInvestmentService() { _historicInvestmentRepository = new HistoricInvestmentRepository(); }
/// <summary> /// /// </summary> /// <param name="historicInvestmentRepository"></param> public HistoricInvestmentService(HistoricInvestmentRepository historicInvestmentRepository) { _historicInvestmentRepository = historicInvestmentRepository; }