public async Task <IActionResult> LogOut(Guid id) { await Task.Yield(); try { await sessionLogic.DeleteSession(id).ConfigureAwait(false); return(Ok()); } catch (BusinessLogicException e) { return(BadRequest(e.Message)); } }