I have to write a plugin that checks if the customer is an account or a contact from the case entity.
Thanks.
string test = Incident.CustomerId.LogicalName;