public virtual IUnitOfWork GetUoW() { if (!callContext.Contains(IpNTierKeyConst.UoW)) { lock (lockUoW) { if (!callContext.Contains(IpNTierKeyConst.UoW)) { callContext.Save(IpNTierKeyConst.UoW, DependencyManager.Instance().Resolve <IUnitOfWork>()); } } } return(callContext.Retrieve <IUnitOfWork>(IpNTierKeyConst.UoW)); }