/// <summary> /// /// </summary> public void Dispose() { if (_typeInvestmentRepository != null) { _typeInvestmentRepository = null; } }
/// <summary> /// /// </summary> public TypeInvestmentService() { _typeInvestmentRepository = new TypeInvestmentRepository(); }
/// <summary> /// /// </summary> /// <param name="typeInvestmentRepository"></param> public TypeInvestmentService(TypeInvestmentRepository typeInvestmentRepository) { _typeInvestmentRepository = typeInvestmentRepository; }