public void Initialize() { _server = TestServer.Create<StartUp>(); _repository = new TasksRepository(new RedisClient()); _taskOne = _repository.Save(new Task { Title = "TaskOne" }); _taskTwo = _repository.Save(new Task { Title = "TaskTwo" }); }
public void SetUp() { _repository = new TasksRepository(new RedisClient()); }