public IEnumerable <NoteDto> GetAllNotes() { Console.WriteLine("обрабатываю HttpGet-запрос api/notes"); return(_db.GetAllNotesSortedByDateOfLastChange()); }
public IEnumerable <NoteDto> GetAllNotes() { Console.WriteLine("обрабатываю HttpGet-запрос api/notes"); return(_db.GetAllNotesSortedByDateOfLastChange()); }