public TurmaServiceTest() { _ioC = new IoC(); _commonTests = new GymCommonTests(ioC: _ioC); _turmaService = _ioC.Resolve <ITurmaService>(); }
public TurmaController(ITurmaService turmaService, ITurmaRepository turmaRepository, UserManager <Usuario> _user) : base(_user) { _turmaService = turmaService; _turmaRepository = turmaRepository; }
public TurmaServiceTest() { _unitOfWork = new Mock<IUnitOfWork>(); _turmaRepository = new Mock<ITurmaRepository>(); _turmaService = new TurmaService(_turmaRepository.Object, _unitOfWork.Object); }
public TurmaApplicationServiceBase(ITurmaService service, IUnitOfWork uow, ICache cache, CurrentUser user) : base(service, uow, cache) { base.SetTagNameCache("Turma"); this._validatorAnnotations = new ValidatorAnnotations <TurmaDto>(); this._service = service; this._user = user; }
public ProfessorTeste(IProfessorService professorService, IAtividadeService atividadeService, IAtividade_TurmaService atividade_TurmaService, ITurmaService turmaService, IQuestaoService questaoService, IOpcaoService opcaoService, IOpcao_CorretaService opcao_CorretaService) { TestaProfessor(); }
public AlunoTeste(IAlunoService alunoService, ITurmaService turmaService, IAtividadeService atividadeService, IAtividade_TurmaService atividade_TurmaService, IResposta_AtividadeService resposta_AtividadeService) { _alunoService = alunoService; _turmaService = turmaService; _atividade_TurmaService = atividade_TurmaService; _resposta_AtividadeService = resposta_AtividadeService; }
public TurmasController(UserManager <ApplicationUser> userManager, IProfessorService professorService, ITurmaService turmaService, IAlunoService alunoService, ITurma_AlunoService aluno_Turma_Service) { _userManager = userManager; _turmaService = turmaService; _alunoService = alunoService; _aluno_Turma_Service = aluno_Turma_Service; _professorService = professorService; }
public AtividadeTurmaController(UserManager <ApplicationUser> userManager, ITurmaService turmaService, IProfessorService professorService, IAtividadeService atividadeService, IAtividade_TurmaService atividadeTurmaService) { _userManager = userManager; _turmaService = turmaService; _professorService = professorService; _atividadeService = atividadeService; _atividadeTurmaService = atividadeTurmaService; }
public TurmaController(INotificador notificador, ITurmaRepository turmaRepository, ITurmaService turmaService, IMapper mapper, IUser user) : base(notificador, user) { _turmaRepository = turmaRepository; _turmaService = turmaService; _mapper = mapper; }
public void Initialize() { var _factory = new AdoNetFactory();//Container.Get<UnitOfWorkFactory>(); _uow = new ADOUnitOfWork(_factory);//Container.Get<IUnitOfWork>(); _repo = Container.Get<ITurmaRepository>();//new TurmaRepositorySql(_factory); _turmaService = new TurmaService(_repo, _uow); }
public TurmaDataManager() { var unitOfWork = Injection.Get<IUnitOfWork>(); var turmaRepository = Injection.Get<ITurmaRepository>(); _turmaService = new TurmaService(turmaRepository, unitOfWork); _control = new TurmaControl(_turmaService); }
public TurmaDataManager() { var unitOfWork = Injection.Get <IUnitOfWork>(); var turmaRepository = Injection.Get <ITurmaRepository>(); _turmaService = new TurmaService(turmaRepository, unitOfWork); _control = new TurmaControl(_turmaService); }
public TurmasController(ITurmaService turmaService, TurmaToTurmaDTOMapper turmaToTurmaDTOMapper, TurmaDTOToTurmaMapper turmaDTOToTurmaMapper, TurmaToTurmaCompletoDTOMapper turmaToTurmaCompletoDTOMapper, DisciplinaToDisciplinaDTOMapper disciplinaToDisciplinaDTOMapper, AlunoToAlunoDTOMapper alunoToAlunoDTOMapper) { _turmaService = turmaService; _turmaToTurmaDTOMapper = turmaToTurmaDTOMapper; _turmaDTOToTurmaMapper = turmaDTOToTurmaMapper; _turmaToTurmaCompletoDTOMapper = turmaToTurmaCompletoDTOMapper; _disciplinaToDisciplinaDTOMapper = disciplinaToDisciplinaDTOMapper; _alunoToAlunoDTOMapper = alunoToAlunoDTOMapper; }
public PublicacaoController(IPublicacaoService publicacaoService, ITurmaService turmaService, IAvaliacaoService avaliacaoService, IPublicacaoRepository publicacaoRepository, UserManager <Usuario> user) : base(user) { _turmaService = turmaService; _publicacaoRepository = publicacaoRepository; _avaliacaoService = avaliacaoService; _publicacaoService = publicacaoService; }
public ProvaController(IAvaliacaoService avaliacaoService, ITurmaService turmaService, IProvaService provaService, UserManager <Usuario> user) : base(user) { _turmaService = turmaService; _avaliacaoService = avaliacaoService; _provaService = provaService; }
public TurmaDataManager() { var factory = new DatabaseFactory(); var unitOfWork = new UnitOfWork(factory); var turmaRepository = new TurmaRepository(factory); _turmaService = new TurmaService(turmaRepository, unitOfWork); _control = new TurmaControl(_turmaService); }
public AlunoDataManager() { var unitOfWork = Injection.Get <IUnitOfWork>(); var alunoRepository = Injection.Get <IAlunoRepository>(); var turmaRepository = Injection.Get <ITurmaRepository>(); _turmaService = new TurmaService(turmaRepository, unitOfWork); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); _control = new AlunoControl(_alunoService); }
public AlunoDataManager() { var unitOfWork = Injection.Get<IUnitOfWork>(); var alunoRepository = Injection.Get<IAlunoRepository>(); var turmaRepository = Injection.Get<ITurmaRepository>(); _turmaService = new TurmaService(turmaRepository, unitOfWork); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); _control = new AlunoControl(_alunoService); }
public AlunoDataManager() { var factory = new DatabaseFactory(); var unitOfWork = new UnitOfWork(factory); var alunoRepository = new AlunoRepository(factory); var turmaRepository = new TurmaRepository(factory); _turmaService = new TurmaService(turmaRepository, unitOfWork); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); _control = new AlunoControl(_alunoService); }
public Teste(IProfessorService professorService, IAtividadeService atividadeService, IAtividade_TurmaService atividade_TurmaService, ITurmaService turmaService, IQuestaoService questaoService, IOpcaoService opcaoService, IOpcao_CorretaService opcao_CorretaService) { _professorService = professorService; _atividadeService = atividadeService; _atividade_TurmaService = atividade_TurmaService; _turmaService = turmaService; _questaoService = questaoService; _opcaoService = opcaoService; _opcao_CorretaService = opcao_CorretaService; ProfessorTeste professor = new ProfessorTeste(_professorService, _atividadeService, _atividade_TurmaService, _turmaService, _questaoService, _opcaoService, _opcao_CorretaService); }
public Principal() { InitializeComponent(); _instance = this; var unitOfWork = Injection.Get <IUnitOfWork>(); var alunoRepository = Injection.Get <IAlunoRepository>(); var turmaRepository = Injection.Get <ITurmaRepository>(); _turmaService = new TurmaService(turmaRepository, unitOfWork); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); AtualizaListaTurmas(); SelecionaTurmaAnoAtual(); }
public Principal() { InitializeComponent(); _instance = this; var unitOfWork = Injection.Get<IUnitOfWork>(); var alunoRepository = Injection.Get<IAlunoRepository>(); var turmaRepository = Injection.Get<ITurmaRepository>(); _turmaService = new TurmaService(turmaRepository, unitOfWork); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); AtualizaListaTurmas(); SelecionaTurmaAnoAtual(); }
public void initialize() { AlunoService = new AlunoService( AlunoRepository.Object, TurmaRepository.Object, UnitOfWork.Object ); AulaService = new AulaService( AulaRepository.Object, AlunoRepository.Object, TurmaRepository.Object, UnitOfWork.Object ); TurmaService = new TurmaService( TurmaRepository.Object, UnitOfWork.Object ); }
public Principal() { InitializeComponent(); _instance = this; var factory = new DatabaseFactory(); var unitOfWork = new UnitOfWork(factory); var turmaRepository = new TurmaRepository(factory); var alunoRepository = new AlunoRepository(factory); _turmaService = new TurmaService(turmaRepository, unitOfWork); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); AtualizaListaTurmas(); SelecionaTurmaAnoAtual(); }
public AlunoController(IAlunoService alunoService, ITurmaService turmaService) { _alunoService = alunoService; _turmaService = turmaService; }
public TurmaApplicationService(ITurmaService service, IUnitOfWork uow, ICache cache, CurrentUser user) : base(service, uow, cache, user) { }
public TurmaAppService(ITurmaService service, IMapper mapper) : base(service, mapper) { this.service = service; this.mapper = mapper; }
public TurmaController(ITurmaService turmaService) { service = turmaService; }
public TurmaController(ITurmaService TurmaService) { this.TurmaService = TurmaService; }
public TurmasController(ITurmaService service) { this._service = service; }
public TurmaControl(ITurmaService turmaService) : this() { _turmaService = turmaService; }
public TurmaController(ITurmaService service) { _service = service; }
public TurmaController() { _turmaService = new TurmaService(TurmaRepository, Uow); }
public TurmasController(ITurmaService _turmaService, IDisciplinaService _DisciplinaService) { this._turmaService = _turmaService; this._DisciplinaService = _DisciplinaService; }
public TurmaControl(ITurmaService turmaService) : this() { _turmaService = turmaService; }
public TurmaController(ITurmaService service, ICursoService cursoService) { Service = service; CursoService = cursoService; }
public TurmaAppService(ITurmaService turmaService) { _turmaService = turmaService; }
public TurmasController(ITurmaService turmaService, IUnitOfWork unitOfWork) { _turmaService = turmaService; _uow = unitOfWork; }
public TurmaController(ITurmaService TurmaService, IMapper mapper) { _mapper = mapper; _turmaService = TurmaService; }