public void LoadData(Guid?guid) { if (guid.HasValue) { Note = _notesManager.GetNote(guid.Value); } if (Note == null) { Note = new Note(); } }