public Customer ReadById(int id)
 {
     if (id <= 0)
     {
         throw new InvalidDataException(Constants.IdCannotBeLessThenOne);
     }
     return(_table.GetCustomerById(id));
 }
 public Customer ReadById(int id)
 {
     return(_table.GetCustomerById(id));
 }