-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues/59 database context #70
Conversation
…9-DatabaseContext
…9-DatabaseContext
@@ -1,4 +1,7 @@ | |||
{ | |||
"ConnectionStrings": { | |||
"DefaultConnection": "Server=DESKTOP-5ED6RRO\\SQLEXPRESS;Database=Conway;Trusted_Connection=True;MultipleActiveResultSets=true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should not commit this string containing details of your machine. We should possibly add another configuration source that is more secure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, however, as this code is throwaway and your machine and accounts will be removed at the end of the exercise, we can let this slides for now. I will add an Issue to put in a new configuration source.
In this PR, I created a DataContext and added methods to the Controller class to allow getting, creating and deleting of boards.