Proxy and Repository Pattern