Ejemplo n.º 1
0
		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;
 }
Ejemplo n.º 3
0
 public void SyncVotes()
 {
     CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes();
     cmdVotes.Save();
 }
Ejemplo n.º 4
0
 /// <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();
 }