Posting a new entity with foreign key causes creating another foreign entity instead of referencing existing one – Asp.net
I have a multi-layered onion architectured asp.net application and currently fasing an issue with POSTing a new entity in a table, which has one-to-many foreign key relation with another table. Here is my parent entity: public class Feature : Entity…