public IActionResult GetAll() { var resultList = _riskTypeService.GetAll(); return(Ok(resultList)); }
// GET: api/RiskType public IEnumerable <RiskTypeDto> Get() { return(_riskTypeService.GetAll()); }