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

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

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

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

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

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

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

            return(daoNotes.GetAllNotes());
        }