示例#1
0
        public IActionResult GetAll()
        {
            var resultList = _insurancePolicyService.GetAll();

            return(Ok(resultList));
        }
示例#2
0
        public async Task <ActionResult <IEnumerable <InsurancePolicy> > > GetAllInsurancePolicies()
        {
            var insurancePolicies = await _insurancePolicyService.GetAll();

            return(Ok(insurancePolicies));
        }