adjusted save note argument signature

This commit is contained in:
Ryan Peters
2025-01-09 11:41:18 -05:00
parent 9a5a082f6d
commit 538ddeeb4f
4 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@
.ToList();
}
public void SaveNote(string content, string noteName)
public void SaveNote(string noteName, string content)
{
File.WriteAllText(GetFilePath(noteName), content);
}

View File

@ -4,7 +4,7 @@
{
ICollection<string> GetNoteNames();
string GetNote(string noteName);
void SaveNote(string content, string noteName);
void SaveNote(string noteName, string content);
void DeleteNote(string noteName);
}
}