adjusted save note argument signature
This commit is contained in:
@ -25,11 +25,11 @@ namespace BinaryDad.Notes
|
||||
return base.OnConnectedAsync();
|
||||
}
|
||||
|
||||
public async Task SaveNote(string content, string noteName)
|
||||
public async Task SaveNote(string noteName, string content)
|
||||
{
|
||||
try
|
||||
{
|
||||
noteService.SaveNote(content, noteName);
|
||||
noteService.SaveNote(noteName, content);
|
||||
|
||||
// find all other connections except for the current one
|
||||
var clientConnections = NoteContext.ClientNotes
|
||||
|
Reference in New Issue
Block a user