예제 #1
0
        public IActionResult GetAll()
        {
            var resultList = _riskTypeService.GetAll();

            return(Ok(resultList));
        }
예제 #2
0
 // GET: api/RiskType
 public IEnumerable <RiskTypeDto> Get()
 {
     return(_riskTypeService.GetAll());
 }