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

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

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