public static Validation IsPositiveInteger(this Validation validate, string value, string property) { return(validate .IsInteger(value, property) .ContinueIfValid(v1 => v1.GreaterThan(int.Parse(value), 0, $"{property} is notgreater than 0"))); }
public static Validation IsPositiveInteger(this Validation validate, string value, string property) { return(validate .IsInteger(value, property) .ContinueIfValid(v1 => v1.GreaterThan(int.Parse(value), 0, $"{property} is notgreater than 0"))); }