Beispiel #1
0
        public UsuarioService(ISisfahdDatabaseSettings settings)
        {
            var client   = new MongoClient(settings.ConnectionString);
            var database = client.GetDatabase(settings.DatabaseName);

            _usuarios = database.GetCollection <Usuario>("usuarios");
        }
Beispiel #2
0
 public AzureFileStorage(ISisfahdDatabaseSettings settings)
 {
     connectionString = settings.StorageConnectionString;
 }