public ActionResult DrugStoreGetId(int id) { DEntity <DrugStore> e = new DEntity <DrugStore>(ConstValue.ConnectionString, DrugStore.getTableName()); return(Json(e.get("ID", id))); }
public IActionResult ListDrugStore() { DEntity <DrugStore> e = new DEntity <DrugStore>(ConstValue.ConnectionString, DrugStore.getTableName()); return(Json(e.getAll())); }