コード例 #1
0
        //
        // GET: /Challan/

        public ActionResult Index()
        {
            TRN_CHALLANS_GET_Result challan = new TRN_CHALLANS_GET_Result();

            this.LoadCommonJsonData();
            return(View(challan));
        }
コード例 #2
0
        public ActionResult Edit(int id = 0)
        {
            TRN_CHALLANS_GET_Result info = new TRN_CHALLANS_GET_Result();

            using (DBEntities db = new DBEntities())
            {
                info = db.TRN_CHALLANS_GET(id, null, null, null, null, null, null, null, null, null).FirstOrDefault();
            }
            return(View("Save", info));
        }