public List<Note> SearchNotes(int userId, string searchValue) { List<Note> result = null; using (NoteManager manager = new NoteManager()) { result = manager.SearchNotes(userId, searchValue); } return result; }
public List<Note> SearchNotes(int userId, string searchValue) { List<Note> result = null; using (NoteManager manager = new NoteManager()) { result = manager.SearchNotes(userId, searchValue); } return result; }