コード例 #1
0
        public async Task <Degree> getDegreeWithDeptById(int id)
        {
            var specs = new DegreeWithDepartmentSpecification(id);

            return((await GetAsync(specs)).FirstOrDefault());
        }
コード例 #2
0
        public async Task <IQueryable <Degree> > getAllDegreeWithDepartment()
        {
            var specs = new DegreeWithDepartmentSpecification();

            return(ApplySpecification(specs));
        }