public IHttpActionResult SignOutCurrentSession()
        {
            var userSession = this.GetCurrentUserSession();

            if (userSession != null)
            {
                _userSessionBusinessLogic.CloseSession(userSession);
            }

            return(Ok());
        }
Exemplo n.º 2
0
        public async Task <IActionResult> SignOutCurrentSession()
        {
            var userSession = await this.GetCurrentUserSession();

            if (userSession != null)
            {
                _userSessionBusinessLogic.CloseSession(userSession);
            }

            return(Ok());
        }