public void Rollback(string sessionKey) { //encrypt login and password string loginName = ""; string pass = ""; getloginAndPass(UserId, ref loginName, ref pass); string _url = getWSUrl(this.Url); RevisionLog.Instance.AddRevisionEntry(this.GetType(), "ExtractRevisions", "Rolling back changes", LogItemEntryType.Information); RepositoryWebservice repo = new RepositoryWebservice(_url); repo.Rollback(sessionKey, loginName, pass); repo.Dispose(); }