method renames
This commit is contained in:
@ -11,6 +11,6 @@ namespace BinaryDad.Notes.Controllers
|
||||
public ApiController(INoteService noteService) => this.noteService = noteService;
|
||||
|
||||
[Route("note/{noteName}")]
|
||||
public string Note(string noteName) => noteService.GetText(noteName);
|
||||
public string Note(string noteName) => noteService.GetNote(noteName);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user