Skip to content

Commit

Permalink
Merge pull request #150 from michaelvolz/patch-1
Browse files Browse the repository at this point in the history
Replaced BlogContext with BloggingContext
  • Loading branch information
rowanmiller committed Apr 14, 2016
2 parents 3b6588a + fe4f068 commit 96366fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/platforms/aspnetcore/new-db.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Next, we'll add an MVC controller that will use EF to query and save data.
:language: c#
:linenos:

You'll notice that the controller takes a ``BlogContext`` as a constructor parameter. ASP.NET dependency injection will take care of passing an instance of ``BlogContext`` into your controller.
You'll notice that the controller takes a ``BloggingContext`` as a constructor parameter. ASP.NET dependency injection will take care of passing an instance of ``BloggingContext`` into your controller.

The controller contains an ``Index`` action, which displays all blogs in the database, and a ``Create`` action, which inserts a new blogs into the database.

Expand Down

0 comments on commit 96366fe

Please sign in to comment.