Sunday, January 31, 2016

what does int? id means in passing parameter in method?

It means that your parameter could have either integer value of null value. On your method you could use hasValue method to see if the parameter is null or has a valid integer value.