public async Task <IActionResult> Attend(Guid id) { try { await _sessionService.Attend(id, userId); return(Ok(new { message = "" })); } catch (AppException ex) { return(BadRequest(new { message = ex.Message })); } }