get note name from api

This commit is contained in:
2023-07-28 20:19:59 +00:00
parent d73e065805
commit e89f9f74fe
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,6 @@ namespace BinaryDad.Notes.Controllers
this.noteService = noteService;
}
public string Note() => noteService.Get();
public string Note(string noteName) => noteService.GetText(noteName);
}
}