adjusted save note argument signature
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public void SaveNote(string content, string noteName)
|
||||
public void SaveNote(string noteName, string content)
|
||||
{
|
||||
File.WriteAllText(GetFilePath(noteName), content);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user