/// <summary> /// 获取所有图书分类 /// </summary> /// <returns></returns> public List <Category> GetAllCategory() { return(bookService.GetAllCategory()); }