Ejemplo n.º 1
0
        public ActionResult People()
        {
            var model = new PersonGridModel();

            model.Load();
            return(Json(model, JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 2
0
        // GET: Site
        public ActionResult Index()
        {
            var model = new PersonGridModel()
            {
                Statistics = this.personManager.GetStatictics(),
                Persons    = this.personManager.GetAllPersons(true, 0, 10),
                SystemUnit = this.siteHelper.GetSystemUnit(),
                Phrases    = this.phrasesManager.GetAllPhrases(),
            };

            return(View(model));
        }
Ejemplo n.º 3
0
 public ActionResult People(PersonGridModel model)
 {
     model.Load();
     return(Json(model, JsonRequestBehavior.AllowGet));
 }