Multiple select dropdown list ASP.NET Core 6

27 views Asked by At

When I create a post, I need a multi-select dropdown field, so I can select more than 1 category for 1 post.

I have created those entities: Post, Category, PostCategory

Do I need this PostCategory table? I mean, when I save a post, do I have to pass the data in this table in database?

Or is there any other way how I can create this dropdown? I am very confused

0

There are 0 answers