コード例 #1
0
        public CommandUpdateGremioRepresentante(
            IGremioRepositoryReadOnly repositoryRead,
            IGremioRepositoryCommands repository,
            IRepresentanteLegalRepositoryReadOnly representanteLegalRepositoryRead,
            Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork)
        {
            _repositoryRead = repositoryRead;

            _representanteLegalRepositoryRead = representanteLegalRepositoryRead;
            _repositoryCommands = repository;
        }
コード例 #2
0
 public GremioRepositoryCommands(ISession session, IRepresentanteLegalRepositoryReadOnly representanteLegalRepositoryRead,
                                 IDireccionRepositoryReadOnly direccionRepositoryRead) : base(session)
 {
     _representanteLegalRepositoryRead = representanteLegalRepositoryRead;
     _direccionRepositoryRead          = direccionRepositoryRead;
 }