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

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

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

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

            return(Ok());
        }