Exemplo n.º 1
0
        public Task Execute(IJobExecutionContext context)
        {
            ApplicationLogRepository applogs          = new ApplicationLogRepository();
            WatchlistService         WatchlistService = new WatchlistService();

            try
            {
                var resultswnt = WatchlistService.GetSwntFromMappingNSendMail();
                return(null);
            }
            catch (Exception ex)
            {
                applogs.AppLogManager("WatchListAvailAlertSWNTSendMail", "WatchListAlertJob", "Error: " + ex.ToString());
                return(null);
            }
        }