public async Task <IActionResult> CloseSession(int sessionId, [FromQuery(Name = "extra-time")] int extraMinuties) { try { return(Ok(await sessionService.CloseSession(sessionId, extraMinuties))); } catch (Exception e) { return(BadRequest(e.Message)); } }