예제 #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());
 }
예제 #4
0
 private IContainer GetContainer()
 {
     return ModulesRegistrations.RegisterInvoiceModule();
 }
 private IContainer GetContainer()
 {
     return(ModulesRegistrations.RegisterOptimalPackageModule());
 }
예제 #6
0
 public IContainer GetContainer()
 {
     return(ModulesRegistrations.RegisterReportsEngine());
 }