Add contact controller
This commit is contained in:
@@ -45,6 +45,7 @@ namespace weddingapi
|
||||
});
|
||||
|
||||
services.AddSingleton<IFamilyRepository, MongoDBFamilyRepository>();
|
||||
services.AddSingleton<IContactRepository, MongoDBContactUsRepository>();
|
||||
services.AddControllers(options => {
|
||||
options.SuppressAsyncSuffixInActionNames = false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user