Solved an Issue with foreign key in EF