Beispiel #1
0
        public ActionResult Index(string who, string path, string handler, string bearer, string basic, string code, bool hasLog = false, int pageSize = 10, int pageIndex = 0)
        {
            Page <ApiRequest> data = ApiRequestSqlAccess.Get(who, path, handler, bearer, basic, code, hasLog, pageSize, pageIndex);

            //var props = eXtensibleConfig.GetProperties();
            //var message = "errir tist";
            //EventWriter.WriteError(message, SeverityType.Critical, "test", props);
            data.Items.ForEach(x => x.UserAgent = x.UserAgent.Truncate(15));
            return(View(data));
        }
Beispiel #2
0
        public ActionResult Index(string who, string path, string handler, string bearer, string basic, string code, bool hasLog = false, int pageSize = 10, int pageIndex = 0)
        {
            Page <ApiRequest> data = ApiRequestSqlAccess.Get(who, path, handler, bearer, basic, code, hasLog, pageSize, pageIndex);

            return(View(data));
        }