示例#1
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());
        }
示例#2
0
        public ActionResult SyncAniDBVotes()
        {
            //TODO APIv2: Command should be split into AniDb/MAL sepereate
            CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes();

            cmdVotes.Save();
            return(APIStatus.OK());
        }
        void btnSyncVotes_Click(object sender, RoutedEventArgs e)
        {
            CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes();

            cmdVotes.Save();
            MessageBox.Show(Commons.Properties.Resources.Server_SyncVotes,
                            Commons.Properties.Resources.Success,
                            MessageBoxButton.OK, MessageBoxImage.Information);
            //JMMService.AnidbProcessor.IsBanned = true;
        }