public UserService RemoveUser(IUser newAdmin) { RestParameters urlParameters = new RestParameters() .AddParameters(RestParametersKeys.Token, user.Token) .AddParameters(RestParametersKeys.Name, newAdmin.Name); SimpleEntity simpleEntity = userResource .HttpDeleteAsObject(urlParameters, null, null); CheckService(!simpleEntity.Equals(true), "User " + newAdmin.ToString() + "was not Removed."); //logger.Info("RemoveUser = " + simpleEntity.content); return(this); }