public IActionResult Connect([FromBody] ConnectRequest request) { var session = sessionFactory.Connect(request.Engine, request.ConnectionString); var id = sessionStore.SaveSession(session); return(OkSessionId(id)); }