Initial commit
This commit is contained in:
20
Infraestructure/DbSelector.cs
Normal file
20
Infraestructure/DbSelector.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace Workshop8.Infrastructure
|
||||
{
|
||||
public class DbSelector
|
||||
{
|
||||
private readonly IConfiguration _configuration;
|
||||
|
||||
public DbSelector(IConfiguration configuration)
|
||||
{
|
||||
_configuration = configuration;
|
||||
}
|
||||
|
||||
public async Task EnsureDatabasesAsync()
|
||||
{
|
||||
// TODO: implementar lógica de criação de bancos (SQLite/local e remoto)
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user