Esempio n. 1
0
 public DocumentosController(ICetunaRepository <Alumno> alumnoRepo, BaseRepository <DocumentoAlumno> docRepo,
                             IWebHostEnvironment hostEnvironment, IMapper mapper)
 {
     this.mapper             = mapper;
     this.docRepo            = docRepo;
     this.webHostEnvironment = hostEnvironment;
     this.alumnoRepo         = alumnoRepo;
 }
Esempio n. 2
0
 public AlumnosController(ICetunaRepository <Alumno> repo, IMapper mapper)
 {
     this.mapper = mapper;
     this.repo   = repo;
 }