public async Task <ApiResult> GetParentOrChildIds(int id, bool isParent) { var data = await _bookCategoryServices.GetParentOrChildIdsAsync(id, isParent); return(ApiResult.OK("OK", data)); }