From the error message, it is in your ServiceManager.AddCustomer method (which you don't show).
The only place you call it, the parameter "_Customer" is pre-checked for null, so it should be OK. You will have to look at what happens within the routine.
"i cont understand ur msg can u clarify plz"
Please don't use textspeak here: you have a keyboard, learn to use it...
(We have many people for whom English is not a native language, if they can't look up words, they can't understand.)
Your error message says where the exception occurs:
at Prosynergix.Core.ServiceManager.AddCustomer(Customer customer)
at Prosynergix.Pos.PaymentForm.btnAccept_Click(Object sender, EventArgs e)
So, in your method
btnAccept_Click
you are calling
ServiceManager.AddCustomer
which is doing a pile of Linq stuff.
Since you only call
ServiceManager.AddCustomer
from one place in your code fragment, and the parameter is checked for null before you call it, whatever is causing the problem will only be releaved by looking at what
ServiceManager.AddCustomer
does.
Somewhere in this method, the Linq data is wrong.
So, look at the
ServiceManager.AddCustomer
method and see what could be null and cause a problem...