示例#1
0
        public override void ProcessCommand()
        {
            try
            {
                CrossRef_AniDB_Other xref = RepoFactory.CrossRef_AniDB_Other.GetByID(CrossRef_AniDB_OtherID);
                if (xref == null)
                {
                    return;
                }

                AzureWebAPI.Send_CrossRefAniDBOther(xref);
            }
            catch (Exception ex)
            {
                logger.Error(ex,
                             "Error processing CommandRequest_WebCacheSendXRefAniDBOther: {0}" + ex);
            }
        }
示例#2
0
        public override void ProcessCommand()
        {
            try
            {
                CrossRef_AniDB_OtherRepository          repCrossRef = new CrossRef_AniDB_OtherRepository();
                JMMServer.Entities.CrossRef_AniDB_Other xref        = repCrossRef.GetByID(CrossRef_AniDB_OtherID);
                if (xref == null)
                {
                    return;
                }

                AzureWebAPI.Send_CrossRefAniDBOther(xref);
            }
            catch (Exception ex)
            {
                logger.ErrorException("Error processing CommandRequest_WebCacheSendXRefAniDBOther: {0}" + ex.ToString(), ex);
                return;
            }
        }