Example #1
0
 public bool DestroyOldNotes(int days, bool destroy)
 {
     if (destroy)
     {
         DaoNotes daoNotes = new DaoNotes();
         return daoNotes.DestroyOldNotes(days);
     }
     else
     {
         return false;
     }
 }
Example #2
0
 public bool DestroyOldNotes(int days, bool destroy)
 {
     if (destroy)
     {
         DaoNotes daoNotes = new DaoNotes();
         return(daoNotes.DestroyOldNotes(days));
     }
     else
     {
         return(false);
     }
 }
Example #3
0
 public bool UpdateNote(int id, string note)
 {
     DaoNotes daoNotes = new DaoNotes();
     return daoNotes.UpdateNote(id, note);
 }
Example #4
0
 public bool Save()
 {
     DaoNotes daoNotes = new DaoNotes();
     return daoNotes.Save(this);
 }
Example #5
0
 public IEnumerable<Notes> GetSimilarNotes(string keyword)
 {
     DaoNotes daoNotes = new DaoNotes();
     return daoNotes.GetSimilarNotes(keyword);
 }
Example #6
0
 public Notes GetNote(int id)
 {
     DaoNotes daoNotes = new DaoNotes();
     return daoNotes.GetNote(id);
 }
Example #7
0
 public List<Notes> GetAllNotesAsList()
 {
     DaoNotes daoNotes = new DaoNotes();
     return daoNotes.GetAllNotesAsList();
 }
Example #8
0
 public IEnumerable GetAllNotes()
 {
     DaoNotes daoNotes = new DaoNotes();
     return daoNotes.GetAllNotes();
 }
Example #9
0
 public bool DestroyNote()
 {
     DaoNotes daoNotes = new DaoNotes();
     return daoNotes.Destroy(this);
 }
Example #10
0
        public bool UpdateNote(int id, string note)
        {
            DaoNotes daoNotes = new DaoNotes();

            return(daoNotes.UpdateNote(id, note));
        }
Example #11
0
        public Notes GetNote(int id)
        {
            DaoNotes daoNotes = new DaoNotes();

            return(daoNotes.GetNote(id));
        }
Example #12
0
        public bool DestroyNote()
        {
            DaoNotes daoNotes = new DaoNotes();

            return(daoNotes.Destroy(this));
        }
Example #13
0
        public bool Save()
        {
            DaoNotes daoNotes = new DaoNotes();

            return(daoNotes.Save(this));
        }
Example #14
0
        public IEnumerable <Notes> GetSimilarNotes(string keyword)
        {
            DaoNotes daoNotes = new DaoNotes();

            return(daoNotes.GetSimilarNotes(keyword));
        }
Example #15
0
        public List <Notes> GetAllNotesAsList()
        {
            DaoNotes daoNotes = new DaoNotes();

            return(daoNotes.GetAllNotesAsList());
        }
Example #16
0
        public IEnumerable GetAllNotes()
        {
            DaoNotes daoNotes = new DaoNotes();

            return(daoNotes.GetAllNotes());
        }