コード例 #1
0
        public ActionResult New()
        {
            StoreCategory s = new StoreCategory();
            GST           g = new GST();
            UOM           u = new UOM();

            return(View(new StoreInventory()
            {
                StoreGSTs = g.getGSTs(),
                StoreUOMs = u.getUOMs(),
                StoreCategories = s.getCategories(),
                status = 0
            }));
        }
コード例 #2
0
        public ActionResult getGSTs()
        {
            GST g = new GST();

            return(Json(g.getGSTs(), JsonRequestBehavior.AllowGet));
        }