Exemplo n.º 1
0
        public RepositoryRoomViewModelService(IRoomRepository repository, IRoomViewModelMapper mapper)
        {
            Contract.Requires <ArgumentNullException>(repository != null);
            Contract.Requires <ArgumentNullException>(mapper != null);

            this.repository = repository;
            this.mapper     = mapper;
        }
        public RepositoryRoomViewModelService(IRoomRepository repository, IRoomViewModelMapper mapper)
        {
            Contract.Requires<ArgumentNullException>(repository != null);
            Contract.Requires<ArgumentNullException>(mapper != null);

            this.repository = repository;
            this.mapper = mapper;
        }