예제 #1
0
        public Task Execute(IJobExecutionContext context)
        {
            ApplicationLogRepository applogs          = new ApplicationLogRepository();
            WatchlistService         WatchlistService = new WatchlistService();

            try
            {
                var resultoacy = WatchlistService.ExecuteWatchListMailAlertOACY(WatchlistAlertFrequency.WhenAvailable);
                return(null);
            }
            catch (Exception ex)
            {
                applogs.AppLogManager("WatchListAvailAlertOACY", "WatchListAlertJob", "Error: " + ex.ToString());
                return(null);
            }
        }