public AlunosController(IAlunoRepository alunoRepository, IMapper mapper, INotificador notificador, IAlunoService alunoService) : base(notificador) { _alunoRepository = alunoRepository; _alunoService = alunoService; _mapper = mapper; }
public DependentesController(INotificador notificador, IResponsavelService responsavelService, IAlunoService alunoService) : base(notificador) { _responsavelService = responsavelService; _alunoService = alunoService; }
public AlunosController(IAlunoService alunoService, AlunoToAlunoDTOMapper alunoToAlunoDTOMapper, AlunoDTOToAlunoMapper alunoDTOToAlunoMapper) { _alunoService = alunoService; _alunoToAlunoDTOMapper = alunoToAlunoDTOMapper; _alunoDTOToAlunoMapper = alunoDTOToAlunoMapper; }
public AlunoController(IUnitOfWork unitOfWork, IAlunoService alunoService, IAlunoFinder alunoFinder) { _unitOfWork = unitOfWork; _alunoService = alunoService; _alunoFinder = alunoFinder; }
public TurmaService(ITurmaRepository repository, ITurmaDisciplinaService turmaDisciplinaService, IAlunoService alunoService, IDisciplinaService disciplinaService) : base(repository) { _turmaDisciplinaService = turmaDisciplinaService; _alunoService = alunoService; _disciplinaService = disciplinaService; }
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 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 MainWindowViewModel(IDialogCoordinator dialog) { this.dialog = dialog; alunoService = new AlunoService(new AlunoRepository()); IncluirCommand = new DelegateCommand(Incluir, () => !ModoEdicao).ObservesProperty(() => ModoEdicao); AlterarCommand = new DelegateCommand(Alterar, () => ModoEdicao).ObservesProperty(() => ModoEdicao); ExcluirCommand = new DelegateCommand(Excluir, () => ModoEdicao).ObservesProperty(() => ModoEdicao); LimparTelaCommand = new DelegateCommand(Limpar); BuscarAlunos(); }
public EscolasController(IEscolaService escolaService, IAlunoService alunoService, EscolaToEscolaDTOMapper escolaToEscolaDTOMapper, EscolaDTOToEscolaMapper escolaDTOToEscolaMapper, AlunoToAlunoDTOMapper alunoToAlunoDTOMapper, AlunoDTOToAlunoMapper alunoDTOToAlunoMapper) { _escolaService = escolaService; _escolaToEscolaDTOMapper = escolaToEscolaDTOMapper; _escolaDTOToEscolaMapper = escolaDTOToEscolaMapper; }
public AlunoServiceTest() { _unitOfWork = new Mock<IUnitOfWork>(); _alunoRepository = new Mock<IAlunoRepository>(); _turmaRepository = new Mock<ITurmaRepository>(); _alunoService = new AlunoService(_alunoRepository.Object, _turmaRepository.Object, _unitOfWork.Object); }
public AlunoController(IAlunoRepositorio alunoRepositorio, IMapper mapper, IAlunoService alunoService, INotificador notificador, IUser user) : base(notificador, user) { _alunoRepositorio = alunoRepositorio; _mapper = mapper; _alunoService = alunoService; }
public ProvaController( IProvaService provaService, IAlunoService alunoService, IAvaliacaoService avaliacaoService, UserManager <Usuario> _user) : base(_user) { _ProvaService = provaService; _AlunoService = alunoService; _AvalicaoService = avaliacaoService; }
public ProfessorController(IQuizzService service, UserManager <Usuario> user, IPerguntaService perguntaService, IAlunoService alunoService, IRespostaService respostaService) { _userManager = user; _service = service; _respostaService = respostaService; _estudanteService = alunoService; _PerguntaService = perguntaService; }
public AlunosController(IMapper mapper, IAlunoService alunoService, IAvaliadorService avaliadorService, ICriterioService criterioService, IAvaliacaoService avaliacaoService) { _mapper = mapper; _alunoService = alunoService; _avaliadorService = avaliadorService; _criterioService = criterioService; _avaliacaoService = avaliacaoService; }
public AlunosController(IAlunoService alunoService, IMapper mapper, IUser appUser) { _alunoService = alunoService; _mapper = mapper; AppUser = appUser; if (AppUser.IsAuthenticated()) { UsuarioId = appUser.GetUserId(); UsuarioAutenticado = true; } }
public LoginController(SignInManager <Usuario> signInManager, UserManager <Usuario> userManager, RoleManager <IdentityRole> roleManager, IProfessorService service, IAlunoService alunoService ) { _signInManager = signInManager; _userManager = userManager; _roleManager = roleManager; _professorService = service; _alunoService = 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 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 RegisterModel( UserManager <Usuario> userManager, SignInManager <Usuario> signInManager, ILogger <RegisterModel> logger, IEmailSender emailSender, ITurmaRepository turmaRepository, IAlunoService alunoService) { _userManager = userManager; _signInManager = signInManager; _logger = logger; _emailSender = emailSender; _alunoService = alunoService; _turmaRepository = turmaRepository; }
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 AlunoController( IQuizzService service, IAlunoService alunoService, IRespostaService respostaService, IPerguntaService perguntaService, IViewRenderService viewRender, IPdfGeneratorService pdfGenerator, UserManager <Usuario> userManager) { _serviceQuizz = service; _alunoService = alunoService; _respostaService = respostaService; _perguntaService = perguntaService; _userManager = userManager; _pdfService = pdfGenerator; _viewRenderService = viewRender; }
public AlunoDialog(IEnumerable<TurmaDTO> turmas) { var unitOfWork = Injection.Get<IUnitOfWork>(); var alunoRepository = Injection.Get<IAlunoRepository>(); var turmaRepository = Injection.Get<ITurmaRepository>(); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); InitializeComponent(); cmbTurmas.Items.Clear(); foreach (var turma in turmas) { cmbTurmas.Items.Add(turma); } }
public AlunoDialog(IEnumerable <TurmaDTO> turmas) { var unitOfWork = Injection.Get <IUnitOfWork>(); var alunoRepository = Injection.Get <IAlunoRepository>(); var turmaRepository = Injection.Get <ITurmaRepository>(); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); InitializeComponent(); cmbTurmas.Items.Clear(); foreach (var turma in turmas) { cmbTurmas.Items.Add(turma); } }
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 NotasController(INotasRepositorio notaRepositorio, IMapper mapper, INotificador notificador, IAlunoRepositorio alunoRepositorio, IDisciplinasRepositorio disciplinasRepositorio, IHostingEnvironment env, INotasService notaService, IAlunoService alunoService, IDisciplinasService disciplinasService, IUser user) : base(notificador, user) { _notaRepositorio = notaRepositorio; _disciplinasRepositorio = disciplinasRepositorio; _env = env; _mapper = mapper; _notaService = notaService; _disciplinasService = disciplinasService; _alunoRepositorio = alunoRepositorio; _alunoService = alunoService; }
public AlunoDialog(IEnumerable<TurmaDTO> turmas) { var factory = new DatabaseFactory(); var unitOfWork = new UnitOfWork(factory); var alunoRepository = new AlunoRepository(factory); var turmaRepository = new TurmaRepository(factory); _alunoService = new AlunoService(alunoRepository, turmaRepository, unitOfWork); InitializeComponent(); cmbTurmas.Items.Clear(); foreach (var turma in turmas) { cmbTurmas.Items.Add(turma); } }
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 AlunoAppService(IAlunoService alunoService, IUnitOfWork uow) : base(uow) { _alunoService = alunoService; }
public AlunoController(IAlunoService alunoService) => _alunoService = alunoService;
public AlunoApplication(IAlunoService service) : base(service) { _service = service; }
public AlunosController(IAlunoService service) { _service = service; }
public AlunoController(IAlunoService contratanetAluno) { ContratanetAluno = contratanetAluno; }
public AlunoControl(IAlunoService _service) : this() { this._alunoService = _service; }
public AlunoController(IAlunoService service) { this.service = service; }
public AlunoController(IAlunoService alunoService, IDiarioDeNotaService diarioDeNotaService) { _alunoService = alunoService; _diarioDeNotaService = diarioDeNotaService; }
public AlunoAppService(IAlunoService alunoService, IUnitOfWork unitOfWork, ApplicationUserManager userManager) : base(unitOfWork) { _alunoService = alunoService; _userManager = userManager; }
public DiarioDeNotaController(IDiarioDeNotaService diarioService, IAlunoService alunoService) { _diarioService = diarioService; _alunoService = alunoService; }