public bool ChangeNotificationStatus(long notificationId, bool isWeb) { try { PostManager mgr = new PostManager(); TokenInfo tokenInfo = new HelperMethods().GetUserToken<TokenInfo>(isWeb, HttpContext.Current); return mgr.ChangeNotificationStatus(tokenInfo.Idf, notificationId); } catch (Exception ex) { throw new WebFaultException<string>(ex.Message, System.Net.HttpStatusCode.InternalServerError); } }