예제 #1
0
 public CommandInsertGremio(IServiceDireccionValidator validatorDireccion,
                            IGremioRepositoryReadOnly repositoryReadOnly,
                            IGremioRepositoryCommands repository,
                            Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork)
 {
     this.validatorDireccion = validatorDireccion;
     _repositoryReadOnly     = repositoryReadOnly;
 }
예제 #2
0
 public CommandUpdateGremioDireccion(IServiceDireccionValidator validatorDireccion,
                                     IGremioRepositoryReadOnly repositoryReadOnly,
                                     IGremioRepositoryCommands repository,
                                     Func <IUnitOfWork> uow) : base(repository, uow)
 {
     _validatorDireccion = validatorDireccion;
     _repositoryReadOnly = repositoryReadOnly;
     _repositoryCommands = repository;
 }
        public CommandUpdateGremioRepresentante(
            IGremioRepositoryReadOnly repositoryRead,
            IGremioRepositoryCommands repository,
            IRepresentanteLegalRepositoryReadOnly representanteLegalRepositoryRead,
            Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork)
        {
            _repositoryRead = repositoryRead;

            _representanteLegalRepositoryRead = representanteLegalRepositoryRead;
            _repositoryCommands = repository;
        }
예제 #4
0
 public CommandDeleteGremio(IGremioRepositoryReadOnly repositoryRead, IGremioRepositoryCommands repository, Func <IUnitOfWork> uow) : base(repository, uow)
 {
     _repositoryRead = repositoryRead;
 }