コード例 #1
0
        public List <Faculty> GetFaculties(string year, string idFilial)
        {
            List <Faculty> faculty = new List <Faculty>
            {
                DTOBuilderFake.CreateFaculty("1", "1"),
                DTOBuilderFake.CreateFaculty("2", "2"),
                DTOBuilderFake.CreateFaculty("3", "3"),
                DTOBuilderFake.CreateFaculty("4", "4")
            };

            return(faculty);
        }
コード例 #2
0
        public List <Group> GetGroups(string year, string idFilial, string idFaculty, string idCourse, string idsSpecialty)
        {
            List <Group> groups = new List <Group>
            {
                DTOBuilderFake.CreateGroup("1", idFaculty, idsSpecialty, idCourse),
                DTOBuilderFake.CreateGroup("2", idFaculty, idsSpecialty, idCourse),
                DTOBuilderFake.CreateGroup("3", idFaculty, idsSpecialty, idCourse),
                DTOBuilderFake.CreateGroup("4", idFaculty, idsSpecialty, idCourse)
            };

            return(groups);
        }
コード例 #3
0
        public List <Specialty> GetSpecialtys(string year, string idFilial, string idFaculty)
        {
            List <Specialty> specialtys = new List <Specialty>
            {
                DTOBuilderFake.CreateSpecialty("1", idFaculty),
                DTOBuilderFake.CreateSpecialty("2", idFaculty),
                DTOBuilderFake.CreateSpecialty("3", idFaculty),
                DTOBuilderFake.CreateSpecialty("4", idFaculty)
            };

            return(specialtys);
        }
コード例 #4
0
        public List <Courses> GetCourses(string year, string idFilial, string idFaculty, string idsSpecialty)
        {
            List <Courses> courses = new List <Courses>
            {
                DTOBuilderFake.CreateCourses("1", idFaculty, idsSpecialty),
                DTOBuilderFake.CreateCourses("2", idFaculty, idsSpecialty),
                DTOBuilderFake.CreateCourses("3", idFaculty, idsSpecialty),
                DTOBuilderFake.CreateCourses("4", idFaculty, idsSpecialty)
            };

            return(courses);
        }
コード例 #5
0
        public List <GroupLesson> GetGroupLessons(string idsSheduleGroup, string dateFrom, string dateTo)
        {
            List <GroupLesson> groupLessons = new List <GroupLesson>
            {
                DTOBuilderFake.CreateGroupLesson("GroupLesson 1"),
                DTOBuilderFake.CreateGroupLesson("GroupLesson 2"),
                DTOBuilderFake.CreateGroupLesson("GroupLesson 3"),
                DTOBuilderFake.CreateGroupLesson("GroupLesson 4")
            };

            return(groupLessons);
        }