Beispiel #1
0
        public ActionResult GetDrugCategory(int categoryId)
        {
            DEntity <DrugCategory> e = new DEntity <DrugCategory>(ConstValue.ConnectionString, DrugCategory.getTableName());

            return(Json(e.get("categoryId", categoryId)));
        }
Beispiel #2
0
        public IActionResult GetListDrugStoreCategory()
        {
            DEntity <DrugCategory> e = new DEntity <DrugCategory>(ConstValue.ConnectionString, DrugCategory.getTableName());

            return(Json(e.getAll()));
        }