Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private IProductRepository _productRepository;
- private IProductRepository ProductRepository
- {
- get
- {
- if(_productRepository == null)
- {
- _productRepository = ObjectFactory.GetInstance<IProductRepository>();
- }
- return _productRepository;
- }
- }
Add Comment
Please, Sign In to add comment