Are you saying this a class? How can you have return variable for class?
This is a method.
I think you need to set customer Id value to some label on button click isnt it?
On your button click code behind
int CustomerId=InsertRegistrationDetails();
or
Label1.Text=InsertRegistrationDetails().ToString().