示例#1
0
 public PupilPresentation(IPupilRepository pupilRepository, IStudentRepository studentRepository,
                          ISchoolRepository schoolRepository, IMapper mapper, IStudentPresentation studentPresentation,
                          ICertificateRepository certificateRepository)
 {
     _pupilRepository       = pupilRepository;
     _studentRepository     = studentRepository;
     _schoolRepository      = schoolRepository;
     _mapper                = mapper;
     _studentPresentation   = studentPresentation;
     _certificateRepository = certificateRepository;
 }
示例#2
0
 public PersonController(IStudentPresentation studentPresentation, IPupilPresentation pupilPresentation, IWebHostEnvironment webHostEnvironment)
 {
     _studentPresentation = studentPresentation;
     _pupilPresentation   = pupilPresentation;
     _webHostEnvironment  = webHostEnvironment;
 }