public IEnumerable<CodeJewel> SearchByCategory(int categoryId) { var found = (from c in this.dbContext.CodeJewels where c.CategoryId == categoryId select c).ToList(); return SerializeCodeJewel(found); }