public ChamadaController() { var factory = new DatabaseFactory(); var aulaRespository = new AulaRepository(factory); var alunoRepository = new AlunoRepository(factory); var turmaRepository = new TurmaRepository(factory); var uow = new UnitOfWork(factory); _aulaService = new AulaService(aulaRespository, alunoRepository, turmaRepository, uow); }
public AulaController() { _aulaService = new AulaService(AulaRepository, AlunoRepository, TurmaRepository, Uow); }