public ActionResult GetDrugCategory(int categoryId) { DEntity <DrugCategory> e = new DEntity <DrugCategory>(ConstValue.ConnectionString, DrugCategory.getTableName()); return(Json(e.get("categoryId", categoryId))); }
public IActionResult GetListDrugStoreCategory() { DEntity <DrugCategory> e = new DEntity <DrugCategory>(ConstValue.ConnectionString, DrugCategory.getTableName()); return(Json(e.getAll())); }