示例#1
0
        public bool DeleteAndInsertAll(List<Note> input, User author)
        {
            DalSmartNote.SmartNoteDal dal = new DalSmartNote.SmartNoteDal();
            bool ret = dal.DeleteAndInsertAll(input, author);

            return ret;
        }
示例#2
0
        public bool InsertNote(Note input)
        {
            DalSmartNote.SmartNoteDal dal = new DalSmartNote.SmartNoteDal();
            bool ret = dal.InsertNote(input);

            return ret;
        }
示例#3
0
        public bool UpdateNote(Note input)
        {
            DalSmartNote.SmartNoteDal dal = new DalSmartNote.SmartNoteDal();
            bool ret = dal.UpdateNote(input);

            return ret;
        }
示例#4
0
        public async Task<List<Note>> GetAllNote(User input)
        {
            DalSmartNote.SmartNoteDal dal = new DalSmartNote.SmartNoteDal();
            List<Note> ret = await dal.GetAllNote(input);

            return ret;
        }