Пример #1
0
 public static IServiceFacade GetInstance()
 {
     if (_instance == null)
     {
         _instance = new ServiceFacade();
     }
     return _instance;
 }
Пример #2
0
 public static IServiceFacade GetInstance(IAdminService service)
 {
     _service = service;
     if (_instance == null)
     {
         _instance = new ServiceFacade();
     }
     return _instance;
 }