Closed cristighr1995 closed 5 years ago
We can not use Singleton for City because there can be more cities. So in this case we should only cache cities and retrieve the cached instance.
We can not use Singleton for City because there can be more cities. So in this case we should only cache cities and retrieve the cached instance.