Esempio n. 1
0
        public async Task <SubjectModel> CreateSubject(ITeacherRepository teacherRepository)
        {
            SubjectModel model = new SubjectModel {
                Teachers = await teacherRepository.GetTeacher()
            };

            return(model.Clone() as SubjectModel);
        }