The argument cannot be validated because its type "{0}" is not the same type ({1}) as the maximum and minimum limits of the ...