Пример #1
0
 public CRMManager()
 {
     clientManager     = ModulesRegistrations.RegisterCRMModule().Resolve <IClientManager>();
     packageManager    = ModulesRegistrations.RegisterCRMModule().Resolve <IPackageManager>();
     clientTypeManager = ModulesRegistrations.RegisterCRMModule().Resolve <IClientTypeManager>();
     lineManager       = ModulesRegistrations.RegisterCRMModule().Resolve <ILineManager>();
 }
Пример #2
0
 public CRMProvider()
 {
     _obj = new Object();
     _customerProvider       = ModulesRegistrations.RegisterCRMModule().Resolve <ICustomerProvider>();
     _packageProvider        = ModulesRegistrations.RegisterCRMModule().Resolve <IPackageProvider>();
     _customerTypeProvider   = ModulesRegistrations.RegisterCRMModule().Resolve <ICustomerTypeProvider>();
     _lineProvider           = ModulesRegistrations.RegisterCRMModule().Resolve <ILineProvider>();
     _packageIncludeProvider = ModulesRegistrations.RegisterCRMModule().Resolve <IPackageIncludeProvider>();
     _selectedNumberProvider = ModulesRegistrations.RegisterCRMModule().Resolve <ISelectedNumberProvider>();
     _smsProvider            = ModulesRegistrations.RegisterCRMModule().Resolve <ISmsProvider>();
     _callProvider           = ModulesRegistrations.RegisterCRMModule().Resolve <ICallProvider>();
 }
Пример #3
0
 private IContainer GetContainer()
 {
     return(ModulesRegistrations.RegisterCRMModule());
 }