Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Simple CRUD? #21

Open
rogueyoshi opened this issue Mar 12, 2021 · 2 comments
Open

Simple CRUD? #21

rogueyoshi opened this issue Mar 12, 2021 · 2 comments

Comments

@rogueyoshi
Copy link

What's the best practice for adding simple CRUD to this? Is the dbContext reusable for storing data other than the auth related stuff, or should it be done entirely separately?

@stavroskasidis
Copy link
Owner

Yes, of course it is. Just add some DbSet properties to the dbcontext and then add a migration. It just already contains some default user tables for Identity.

@rogueyoshi
Copy link
Author

Yes, of course it is. Just add some DbSet properties to the dbcontext and then add a migration. It just already contains some default user tables for Identity.

Thank you! It looks like API scaffolding will even do some of that lifting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants