готово 3

This commit is contained in:
Garifullin-Farid 2024-11-28 12:45:00 +04:00
parent bc23fd60a9
commit cedf82b1f6
3 changed files with 0 additions and 30 deletions

View File

@ -1,7 +0,0 @@
namespace ProjectSession.Repositories
{
public interface IConnectionString
{
public string ConnectionString { get;}
}
}

View File

@ -1,8 +0,0 @@

namespace ProjectSession.Repositories
{
public class ConnectionString : IConnectionString
{
string IConnectionString.ConnectionString => "Host=localhost;Port=5432;Username=postgres;Password=postgres;Database=otp";
}
}

View File

@ -1,15 +0,0 @@
{
"Serilog": {
"Using": [ "Serilog.Sinks.File" ],
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "Logs/Session_log.txt",
"rollingInterval": "Day"
}
}
]
}
}