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

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

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

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

            return(Ok());
        }