public async Task <IActionResult> GetCheckByIdAsync(int id, CancellationToken token) { var check = await _checkService.GetCheckByIdAsync(id, token); if (check == null) { return(NotFound()); } return(new ObjectResult(check)); }
public async Task <IActionResult> GetCheckByIdAsync(int id, CancellationToken token) { var check = await _checkService.GetCheckByIdAsync(id, token); if (check == null) { return(NotFound()); } return(new ObjectResult(check)); }