Esempio n. 1
0
 public ActionResult GetTree(int treeid)
 {
     DAL.GapTree _dataobject = new DAL.GapTree(Request);
     //return PartialView(_dataobject.GetById(treeid));
     return(Json(_dataobject.GetById(treeid), JsonRequestBehavior.AllowGet));
 }
Esempio n. 2
0
        //
        // GET: /Accounting/Home/
        public ActionResult GetSeed(int treeid)
        {
            var _dataobject = new DAL.GapTree(Request);

            return(PartialView(_dataobject.GetById(treeid)));
        }
Esempio n. 3
0
 public ActionResult FieldChange()
 {
     DAL.GapTree _dataobject = new DAL.GapTree(Request);
     return(Json(_dataobject.FieldChange(), JsonRequestBehavior.AllowGet));
 }
Esempio n. 4
0
 protected override IActionInvoker CreateActionInvoker()
 {
     _dataobject = new DAL.GapTree(Request);
     this.InitData(_dataobject);
     return(base.CreateActionInvoker());
 }
Esempio n. 5
0
 public ActionResult AutoComplete()
 {
     DAL.GapTree _dataobject = new DAL.GapTree(Request);
     return(Json(_dataobject.AutoComplete(), JsonRequestBehavior.AllowGet));
 }