Add contact controller

This commit is contained in:
Julian
2022-05-14 20:19:41 +02:00
parent df8be1672e
commit 9e38cfd25d
10 changed files with 212 additions and 16 deletions

View File

@@ -45,6 +45,7 @@ namespace weddingapi
});
services.AddSingleton<IFamilyRepository, MongoDBFamilyRepository>();
services.AddSingleton<IContactRepository, MongoDBContactUsRepository>();
services.AddControllers(options => {
options.SuppressAsyncSuffixInActionNames = false;
});