UoW, generic repository, n-tier