public IActionResult Get(UserParams userParams) { var items = _educationLevelService.GetAll(userParams); Response.AddPagination(userParams); return(Ok(items)); }
public async Task <ActionResponse <List <EducationLevelDto> > > GetAll() { return(await educationLevelService.GetAll()); }