public async Task <IActionResult> GetAllLevel() { var level = await _levelService.GetAllLevel(); return(Ok(level)); }
public IActionResult GetAllLevel([FromQuery] BaseGetAllRequest request) { var data = levelService.GetAllLevel(request); return(Ok(new ApiOkResponse(data))); }