public IEnumerable <product> get(int id)
 {
     return(service.getProductsByBarId(id));
 }