public IHttpActionResult SignOutCurrentSession() { var userSession = this.GetCurrentUserSession(); if (userSession != null) { _userSessionBusinessLogic.CloseSession(userSession); } return(Ok()); }
public async Task <IActionResult> SignOutCurrentSession() { var userSession = await this.GetCurrentUserSession(); if (userSession != null) { _userSessionBusinessLogic.CloseSession(userSession); } return(Ok()); }