public void Setup()
        {
            allBoards = new List<KanbanBoard>{
                    new KanbanBoard {Title = "Demo 1", User = "******", TimesFavorited = 100, Posted = DateTime.Parse("2010-01-01")},
                    new KanbanBoard {Title = "Kanban 1", User = "******", TimesFavorited = 1000, Posted = DateTime.Parse("2010-04-01")},
                    new KanbanBoard {Title = "Demo 2", User = "******", TimesFavorited = 300, Posted = DateTime.Parse("2010-06-01")},
                    new KanbanBoard {Title = "My new board", User = "******", TimesFavorited = 50, Posted = DateTime.Parse("2011-01-01")}
                };

            mockRepository = Substitute.For<IKanbanBoardRepository>();
            readService = new KanbanBoardReadService(mockRepository);
        }
 public KanbanBoardReadService(IKanbanBoardRepository repository)
 {
     kanbanBoardRepository = repository;
 }
 public KanbanBoardCommandService(IKanbanBoardRepository kanbanBoardRepository)
 {
     this.kanbanBoardRepository = kanbanBoardRepository;
 }