Vidly Customers API returns customers with id=0

Hello, as the title said, my API for customers for Vidly project returns customers with id=0

All other data is correct, why is just id 0?

Hi,
Because you’re applying the ignore option on both ways(AutoMapper), put only one way, I mean only when the user wants to update a customer or movie properties.
Hope this can solve your problem :slight_smile:
CH