Ejemplo n.º 1
0
 public TurmasController(WebApiContext context, IMapper mapper, TurmaServices turmaServices, AlunoServices alunoServices)
 {
     this.TurmaServices = turmaServices;
     this.AlunoServices = alunoServices;
     this.mapper        = mapper;
     _context           = context;
 }
Ejemplo n.º 2
0
 public AlunosController(IAlunoApi alunoApi, ITurmaApi turmaApi, AlunoServices alunoServices, TurmaServices turmaServices, IMapper mapper, WebApiContext context)
 {
     this.alunoApi      = alunoApi;
     this.turmaApi      = turmaApi;
     this.AlunoServices = alunoServices;
     this.TurmaServices = turmaServices;
     this.mapper        = mapper;
     this._context      = context;
 }
Ejemplo n.º 3
0
 public HomeController(ILogger <HomeController> logger, TurmaServices services, AlunoServices services2)
 {
     _logger        = logger;
     this.services  = services;
     this.services2 = services2;
 }