public MatriculaService() { if (_matriculaRepository == null) { _matriculaRepository = new MatriculaRepository(); } }
public UnitOfWork(DbContext context) { _context = context; AlumnoRepository = new AlumnoRepository(_context); GradoRepository = new GradoRepository(_context); SeccionRepository = new SeccionRepository(_context); MatriculaRepository = new MatriculaRepository(_context); }
public CursoService(ICursoRepository repository, IUsuarioRepository usuarioRepository, IMatriculaRepository matriculaRepository, ICartaoRepository cartaoRepository, IEmailRepository emailRepository) : base(repository) { this.repository = repository; this.usuarioRepository = usuarioRepository; this.matriculaRepository = matriculaRepository; this.cartaoRepository = cartaoRepository; this.emailRepository = emailRepository; }
public PostMatriculaCommandHandler(IMapper mapper, IMatriculaRepository repo) { _mapper = mapper; _repo = repo; }
public MatriculaHandler(IMatriculaRepository matriculaRepository) { _matriculaRepository = matriculaRepository; }
public MatriculaApplicationService(IUnityOfWork unityOfWork, IAlunoRepository alunoRepository, IMatriculaRepository matriculaRepository) { _unityOfWork = unityOfWork; _alunoRepository = alunoRepository; _matriculaRepository = matriculaRepository; }
public matriculaController(IMatriculaRepository repo) { _repo = repo; }
public MatriculaHandler(IMatriculaRepository repository) { _repository = repository; }
public MatriculaService(IMatriculaRepository repository, IAlunoService alunoService, IMateriaService materiaService) : base(repository) { _alunoService = alunoService; _materiaService = materiaService; }
public IEnumerable <Matricula> GetAll(int id, [FromServices] IMatriculaRepository repository ) { return(repository.GetAll(id)); }
public MatriculaController(IMatriculaRepository _repositorio) //ni idea de que hace jajaja { repositorio = _repositorio; }
public MatriculaController(IMapper mapper, IMatriculaRepository matriculaRepository) { _mapper = mapper; _matriculaRepository = matriculaRepository; }
public MatriculaService(IMatriculaRepository matriculaRepository) { this.matriculaRepository = matriculaRepository ?? throw new ArgumentNullException(nameof(matriculaRepository)); }
public MatriculaBusinessLogic(IMatriculaRepository repository, IMapper mapper) { _repository = repository; //_converter = new MatriculaConverter(); _mapper = mapper; }