Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override bool IsValid(object valores)
- {
- try
- {
- int kilometraje = elVehiculo.kilometraje;
- var proximoCambioDeAceite = Convert.ToInt32(valores);
- return proximoCambioDeAceite > kilometraje;
- }
- catch (Exception)
- {
- return base.IsValid(valores);
- }
- }
- }
Add Comment
Please, Sign In to add comment