Error: The type \'Type Name\' must be a non-nullable value type in order to use it as parameter \'Parameter Name\' in the generic type or method \'Generic Identifier\'