NoteService.cs ctor refactoring