Exemple #1
0
        public async Task <NotesObj> GetDesignNotes(string classId, string creator, string catalogCode, string gradeCode,
                                                    Guid dsId
                                                    , Guid taskId)
        {
            var notesid = await _query.GetBySubject(catalogCode, gradeCode, creator, classId);

            if (notesid == Guid.Empty)
            {
                return(null);
            }

            var notes = await this._nsvc.Get(notesid, dsId, taskId);

            return(notes);
        }
Exemple #2
0
        public async Task <NotesObj> GetDesignNotes(string classId, string creator, string catalogCode, string gradeCode,
                                                    Guid dsId
                                                    , Guid taskId)
        {
            var(s, p) = await this._userRoot.EntryFromD4LAsync(this._user.UserId, classId, dsId, taskId);

            this.sId = s;
            this.pid = p;


            var notesid = await _query.GetBySubject(catalogCode, gradeCode, creator, "");

            if (notesid == Guid.Empty)
            {
                return(null);
            }

            var notes = await this._notes.Get(notesid, /* dsId, taskId*/ sId, pid);

            return(notes);
        }