public Note(INoteRepository repo) { _repo = repo; if (_state == null) { _state = repo.CreateNoteState(); _state.Guid = Guid.NewGuid(); } }
public void UpdateNote(INoteState state) { throw new NotImplementedException(); }
public Note(INoteRepository repo, INoteState state) : this(repo) { _repo = repo; _state = state; }