public IEnumerable <Motor> GetMotorsByCategoryId(long categoryId) { return(Motors.Where(m => m.Category.Id == categoryId)); }
public IEnumerable <Motor> GetMotorsByBrandId(long brandId) { return(Motors.Where(m => m.Brand.Id == brandId)); }