void btnSyncVotes_Click(object sender, RoutedEventArgs e) { CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes(); cmdVotes.Save(); MessageBox.Show("Command added to queue", "Success", MessageBoxButton.OK, MessageBoxImage.Information); //JMMService.AnidbProcessor.IsBanned = true; }
void btnSyncVotes_Click(object sender, RoutedEventArgs e) { CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes(); cmdVotes.Save(); MessageBox.Show(JMMServer.Properties.Resources.Server_SyncVotes, JMMServer.Properties.Resources.Success, MessageBoxButton.OK, MessageBoxImage.Information); //JMMService.AnidbProcessor.IsBanned = true; }
public void SyncVotes() { CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes(); cmdVotes.Save(); }
/// <summary> /// Sync votes bettween Local and AniDB and only upload to MAL /// </summary> /// <returns></returns> private object SyncAniDBVotes() { //TODO APIv2: Command should be split into AniDb/MAL sepereate CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes(); cmdVotes.Save(); return APIStatus.statusOK(); }