public ActionResult ReloadExceptions(int exceptionDays, string exceptionServer)
        {
            var model = new ExceptionGridModel();
            model.ServerList = CommonUtilities.GetDistinctExceptionServers();

            GetAllExceptions(model, Convert.ToInt32(exceptionDays), exceptionServer);
            return View("Index", model);
        }
        public ActionResult Index()
        {
            var model = new ExceptionGridModel();
            model.ServerList = CommonUtilities.GetDistinctExceptionServers();

            GetAllExceptions(model);
            return View(model);
        }
        private void GetAllExceptions(ExceptionGridModel exceptions,
            int exceptionDays = 0, string exceptionServer = "")
        {
            if (string.IsNullOrEmpty(exceptionServer))
            {
                exceptionServer = Environment.MachineName;
            }

            exceptions.ExceptionGrid = exceptionServer == ExceptionOptions.AllServers
                ? _reader.GetExceptionsForAllServers(exceptionDays)
                : _reader.GetExceptionsByServer(exceptionDays, exceptionServer);
        }