示例#1
0
        public IList <Alert> GetInProgressAlerts()
        {
            List <Alert> result = new List <Alert>();

            try
            {
                var repository = new AlertRepository();
                result = repository.GetInProgressAlerts().ToList();
            }
            catch (Exception ex)
            {
                new Logger("Error in AlertsController - GetInProgressAlerts(): " + ex.Message, ex);
                throw;
            }
            return(result);
        }