Exemplo n.º 1
0
        public ActionResult GetItemById(string key, int id)
        {
            var obj = key != Keyapi ? new CompanyItem() : _da.GetItembyId(id);

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