Unverified Commit 6c2ce30c authored by Steve Smith's avatar Steve Smith Committed by GitHub

Merge branch 'master' into dotnet31

parents ff0b6617 72180996
...@@ -8,7 +8,7 @@ namespace CleanArchitecture.Core ...@@ -8,7 +8,7 @@ namespace CleanArchitecture.Core
{ {
public static int PopulateDatabase(IRepository todoRepository) public static int PopulateDatabase(IRepository todoRepository)
{ {
if (todoRepository.List<ToDoItem>().Count() >= 5) return 0; if (todoRepository.List<ToDoItem>().Count() >= 3) return 0;
todoRepository.Add(new ToDoItem todoRepository.Add(new ToDoItem
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment