Example #1
0
        public RefRespondEntity Index4(RefRequestEntity param)
        {

             object AA = param.Request["A"];
             object BB = param.Request["B"];
             object CC = param.Request["C"];

            RefRespondEntity result = new RefRespondEntity(RespondType._String);
            result.ResultContext = View();
            object tt =   ViewBag.test;
            return result;
        }
Example #2
0
 public RefRespondEntity Index2(RefRequestEntity param)
 {
   var o1=  param.Request["qq"];
   var o2 = param.Request["addr"];
     RefRespondEntity result = new RefRespondEntity(RespondType._String);
     var M = new TestM(){A="aaa",B="gffff",C="fff"};
     M.A = HuberVariable.CurWebDir;
     ViewBag.abc = "ccc";
     ViewBag.test = "my test result";
     result.ResultContext = View("Index2", M);
     return result;
 }
Example #3
0
 public RefRespondEntity Index3(RefRequestEntity param)
 {
     RefRespondEntity result = new RefRespondEntity(RespondType._String);
     result.ResultContext = "我是INDEX3乱码";
     return result;
 }
Example #4
0
        //
        // GET: /Demo/

        public RefRespondEntity Index(RefRequestEntity param)
        {
            RefRespondEntity result = new RefRespondEntity(RespondType._Redirect);
            result.ResultContext = HuberVariable.CurWebUrl+ "/Demo/Index2";
            return result;
        }