public NotificationServices(IMongoDbConnection connection, ILogger <NotificationServices> logger, UserLoginServices userLoginServices, UserRoleServices userRoleServices, IConfiguration config)
        {
            var client   = new MongoClient(connection.ConnectionString);
            var database = client.GetDatabase(connection.DataBase);

            _notification      = database.GetCollection <Notification>(MongoCollection.Notification);
            _logger            = logger;
            _userLoginservices = userLoginServices;
            _userRoleServices  = userRoleServices;
            _config            = config;
        }
        public CustomerServices(IMongoDbConnection connection, ILogger <CustomerServices> logger, NotificationServices notificationServices, UserRoleServices userroleServices, CRM.DataCRMProcessingServices dataCRMProcessingServices, MC.DataMCProcessingServices dataMCProcessingServices)
        {
            var client   = new MongoClient(connection.ConnectionString);
            var database = client.GetDatabase(connection.DataBase);

            _customer                  = database.GetCollection <Customer>(MongoCollection.CustomerCollection);
            _logger                    = logger;
            _notificationServices      = notificationServices;
            _userroleServices          = userroleServices;
            _dataCRMProcessingServices = dataCRMProcessingServices;
            _dataMCProcessingServices  = dataMCProcessingServices;
        }