Commit 72180996 authored by rickhodder's avatar rickhodder Committed by Steve Smith

Adjusted DatabasePopulator to check for 3 or more TodoItems instead of 5

parent 8bb945d0
......@@ -8,7 +8,7 @@ namespace CleanArchitecture.Core
{
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
{
......
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