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

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