public dynamic GetByBook(int id) { return(catRepo.GetByBook(id).Select(o => new { o.ID, o.Name })); }