public ActionResult AjaxView()
        {
            var model = _da.GetPictureItem(ArrId.FirstOrDefault());

            return(View(model));
        }
Esempio n. 2
0
        public ActionResult GetPictureItem(string key, int id)
        {
            var obj = key != Keyapi ? new PictureItem() : _da.GetPictureItem(id);;

            return(Json(obj, JsonRequestBehavior.AllowGet));
        }