public CRMManager() { clientManager = ModulesRegistrations.RegisterCRMModule().Resolve <IClientManager>(); packageManager = ModulesRegistrations.RegisterCRMModule().Resolve <IPackageManager>(); clientTypeManager = ModulesRegistrations.RegisterCRMModule().Resolve <IClientTypeManager>(); lineManager = ModulesRegistrations.RegisterCRMModule().Resolve <ILineManager>(); }
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>(); }
private IContainer GetContainer() { return(ModulesRegistrations.RegisterCRMModule()); }