Exemple #1
0
 public LancheController(Context context)
 {
     _repository            = new LancheRepository(context);
     _alunoRepository       = new AlunoRepository(context);
     _estoqueRepository     = new EstoqueRepository(context);
     _alunoLancheRepository = new AlunoLancheRepository(context);
 }
Exemple #2
0
 public AlunoLancheController(Context context, IMapper mapper)
 {
     this._mapper       = mapper;
     _repository        = new AlunoLancheRepository(context);
     _estoqueRepository = new EstoqueRepository(context);
 }