From cfc371620eb9e9ca700da7f1debb73398e8f7af3 Mon Sep 17 00:00:00 2001 From: NicolasPerego Date: Wed, 10 Jan 2018 21:13:56 +0100 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 145ea5a..f231483 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -This is a .NET Core 2.0 MangoPay API SDK (www.mangopay.com) +This is a .NET Core 2.0 compliant MangoPay API SDK (www.mangopay.com). It's fully async. +All tests are OK. +I'll try to update it when the official .NET 4.5 release is updated. Usage with .NET DI : @@ -40,8 +42,8 @@ Then you can inject it in a controller like this : [HttpPost] public async Task CreateMangoPayNaturalUser() { - UserNaturalPostDTO user = new UserNaturalPostDTO("test@sample.org", "Jane", "Doe", new DateTime(1975, 12, 21, 0, 0, 0), "FR", "FR"); + UserNaturalPostDTO user = new UserNaturalPostDTO("test@sample.org", "Jane", "Doe", new DateTime(1975, 12, 21, 0, 0, 0), CountryIso.FR, CountryIso.FR); var createdUser = await _mangoPayApi.Users.Create(Guid.NewGuid().ToString(), user); } - } \ No newline at end of file + }