From 42ede99c280bff229e50004fd2e551aab128d438 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 9 Jul 2017 00:11:04 +0200 Subject: [PATCH] supress diag mesgs --- Yavsc/CustumModelBinder.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Yavsc/CustumModelBinder.cs b/Yavsc/CustumModelBinder.cs index 59e3be98..6e9cc15f 100644 --- a/Yavsc/CustumModelBinder.cs +++ b/Yavsc/CustumModelBinder.cs @@ -11,7 +11,6 @@ namespace Yavsc public async Task BindModelAsync(ModelBindingContext bindingContext) { - Console.WriteLine(JsonConvert.SerializeObject(bindingContext)); ValueProviderResult valueResult = bindingContext.ValueProvider .GetValue(bindingContext.ModelName); decimal actualValue ; @@ -29,10 +28,8 @@ namespace Yavsc { public async Task BindModelAsync(ModelBindingContext bindingContext) { - Console.WriteLine(JsonConvert.SerializeObject(bindingContext.ValueProvider)); ValueProviderResult valueResult = bindingContext.ValueProvider .GetValue(bindingContext.ModelName); - Console.WriteLine(JsonConvert.SerializeObject(valueResult)); DateTime actualValue ; ModelStateEntry modelState = new ModelStateEntry(); CultureInfo[] cultures = { new CultureInfo("en-US"),