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

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

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