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); }
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); }