private bool ProductsExists(int id)
 {
     return(_productsRepository.Any(x => x.IdProducts == id));
 }