Hi
In controller ,I want to judge operation where is come from create action or update action,
I just could judge operation where come from by entity’s null ID .
e.g
If entity’s ID is null,then it came from create action.
If entity’s ID is not null,then it came from update action.
Is there a better way?
thanks!