public Result <IList <ScoreRange> > GetAll(int riskProfileId)
        {
            var result = new Result <IList <ScoreRange> >();
            ScoreRangeService ScoreRangeService = new ScoreRangeService();

            var lstClient = ScoreRangeService.Get(riskProfileId);

            result.Value     = (IList <ScoreRange>)lstClient;
            result.IsSuccess = true;
            return(result);
        }
        public Result Delete(ScoreRange ScoreRange)
        {
            var result = new Result();

            try
            {
                ScoreRangeService ScoreRangeService = new ScoreRangeService();
                ScoreRangeService.Delete(ScoreRange);
                result.IsSuccess = true;
            }
            catch (Exception exception)
            {
                result.IsSuccess     = false;
                result.ExceptionInfo = exception;
            }
            return(result);
        }
        public Result Add(List <ScoreRange> ScoreRanges)
        {
            var result = new Result();

            try
            {
                ScoreRangeService ScoreRangeService = new ScoreRangeService();
                ScoreRangeService.Add(ScoreRanges);
                result.IsSuccess = true;
            }
            catch (Exception exception)
            {
                result.IsSuccess     = false;
                result.ExceptionInfo = exception;
            }
            return(result);
        }