Пример #1
0
        public IUser GetUser(string userName)
        {
            _unitOfWork.BeginTransaction(IsolationLevel.ReadUncommitted);

            var item = _baseService.GetUser(userName);

            _unitOfWork.Commit();

            return(item);
        }
Пример #2
0
        public ICity GetCity(string cityName)
        {
            _unitOfWork.BeginTransaction(IsolationLevel.ReadUncommitted);

            var item = _baseService.GetCity(cityName);

            _unitOfWork.Commit();

            return(item);
        }