public List <Note> GetNotesByCategory(string category, int page, int pageSize) { return(_noteDal.GetNotesByCategory(category, page, pageSize)); }