public JsonResult getBoxDetalle(int boxd_Id) { IEnumerable <object> list = null; try { list = db.SDP_Inv_tbBoxDetalle_Select(boxd_Id).ToList(); return(Json(list, JsonRequestBehavior.AllowGet)); //list = db.tbBoxDetalle.Find(boxd_Id).; } catch (Exception Ex) { Ex.Message.ToString(); return(Json("Fallo", JsonRequestBehavior.AllowGet)); } }