early work on supporting multiple files
This commit is contained in:
@ -12,9 +12,9 @@ namespace BinaryDad.Notes
|
||||
this.noteService = noteService;
|
||||
}
|
||||
|
||||
public async Task SaveNote(string content)
|
||||
public async Task SaveNote(string content, string? noteName)
|
||||
{
|
||||
noteService.Save(content);
|
||||
noteService.Save(content, noteName);
|
||||
|
||||
await Clients.Others.SendAsync("updateNote", content);
|
||||
}
|
||||
|
Reference in New Issue
Block a user