I want to store session id in the viewmodel object
here is the code
var Sessionid = System.Guid.NewGuid();
vm.ApplicantRecord.SessionId = Sessionid.ToString();
but I got this error
An exception of type 'System.NullReferenceException' occurred in UTSystem.dll but was not handled in user code
Additional information: Object reference not set to an instance of an object.
Go to the complete details ...