public virtual void Delete(TRecord record) { using (var unitOfWork = new UnitOfWorkProvider(this.unitOfWorkContext)) { unitOfWork.Delete(record); } }