public ActionResult QueryLoginSearch(DateTime?fromDate, DateTime?toDate)
        {
            try
            {
                if (fromDate == null || toDate == null)
                {
                    return(View());
                }
                else
                {
                    ReportAdminViewModel model = new ReportAdminViewModel();
                    model.FromDate   = fromDate.Value;
                    model.ToDate     = toDate.Value;
                    model.LogEntries = logger.GetLog(fromDate.Value, toDate.Value);

                    return(View(model));
                }
            }
            catch (Exception e)
            {
                ViewBag.ErrorTitle       = "Server Error";
                ViewBag.ErrorDescription = "Please try again later";
                return(View("~/Views/Shared/ErrorPage.cshtml"));
            }
        }