public ActionResult SecurityLog(SecurityLogFilterModel filter)
        {
            var listing = SecurityServices.GetSecurityLog(filter);

            ViewBag.Locations = LocationServices.GetLocationLookup(true, filter.LocationId);
            ViewBag.Result    = LookupServices.GetLoginResultOptions(filter.ResultFlag, true);
            ViewBag.Size      = LookupServices.GetSizeOptions(filter.Size);

            if (listing.SecurityLog.Count == 0)
            {
                return(View("SecurityLogNoData", listing));
            }
            else
            {
                return(View("SecurityLog", listing));
            }
        }