public Result <IList <SwitchTypeInvestmentRecommendation> > GetAll(int plannerId)
        {
            var result = new Result <IList <SwitchTypeInvestmentRecommendation> >();
            SwitchInvestmentRecommendationService switchInvestmentRecomendationService = new SwitchInvestmentRecommendationService();

            result.Value     = switchInvestmentRecomendationService.GetAll(plannerId);
            result.IsSuccess = true;
            return(result);
        }
        public Result Delete(SwitchTypeInvestmentRecommendation lumsumInvestmentRecomendation)
        {
            var result = new Result();

            try
            {
                SwitchInvestmentRecommendationService switchInvestmentRecomendationService = new SwitchInvestmentRecommendationService();
                switchInvestmentRecomendationService.Delete(lumsumInvestmentRecomendation);
                result.IsSuccess = true;
            }
            catch (Exception exception)
            {
                result.IsSuccess     = false;
                result.ExceptionInfo = exception;
            }
            return(result);
        }