initial commit
This commit is contained in:
15
Config/MongoDbConfig.cs
Normal file
15
Config/MongoDbConfig.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace weddingapi.Config
|
||||
{
|
||||
class MongoDbConfig
|
||||
{
|
||||
public string Host { get; set; }
|
||||
public int Port { get; set; }
|
||||
|
||||
public string ConnectionString {
|
||||
get
|
||||
{
|
||||
return $"mongodb://{Host}:{Port}";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user