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