public IUser GetUser(string userName) { _unitOfWork.BeginTransaction(IsolationLevel.ReadUncommitted); var item = _baseService.GetUser(userName); _unitOfWork.Commit(); return(item); }
public ICity GetCity(string cityName) { _unitOfWork.BeginTransaction(IsolationLevel.ReadUncommitted); var item = _baseService.GetCity(cityName); _unitOfWork.Commit(); return(item); }