コード例 #1
0
        public Result <LifeInsurance> GetById(int id, int plannerId)
        {
            var result = new Result <LifeInsurance>();
            LifeInsuranceService lifeInsuranceService = new LifeInsuranceService();

            result.Value     = lifeInsuranceService.GetById(id, plannerId);
            result.IsSuccess = true;
            return(result);
        }