public async Task<IActionResult> Get(int page, [FromBody] Response response) { try { var res = await _studentRepository.GetAsync(page, response); return Ok(res); } catch (Exception ex) { return BadRequest(ex); } }
public async Task<IActionResult> Get(int page, [FromBody] Response response) { try { var res = await _studentRepository.GetAsync(page, response); return Ok(res); } catch (Exception ex) { return BadRequest(ex); } }