public override void ProcessCommand() { try { CrossRef_AniDB_MAL xref = RepoFactory.CrossRef_AniDB_MAL.GetByID(CrossRef_AniDB_MALID); if (xref == null) { return; } AzureWebAPI.Send_CrossRefAniDBMAL(xref); } catch (Exception ex) { logger.Error(ex, "Error processing CommandRequest_WebCacheSendXRefAniDBMAL: {0}" + ex); } }
public override void ProcessCommand() { try { CrossRef_AniDB_MALRepository repCrossRef = new CrossRef_AniDB_MALRepository(); JMMServer.Entities.CrossRef_AniDB_MAL xref = repCrossRef.GetByID(CrossRef_AniDB_MALID); if (xref == null) { return; } AzureWebAPI.Send_CrossRefAniDBMAL(xref); } catch (Exception ex) { logger.ErrorException("Error processing CommandRequest_WebCacheSendXRefAniDBMAL: {0}" + ex.ToString(), ex); return; } }