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 })); }
public ActionResult getGSTs() { GST g = new GST(); return(Json(g.getGSTs(), JsonRequestBehavior.AllowGet)); }