/// <inheritdoc /> public CurrentUserDTO GetCurrentUser() { if (!_webSecurityWrapper.IsUserLoggedIn()) { throw new UserNotLoggedInException(); } return(_webSecurityWrapper.GetCurrentUser()); }