From f0afa360f87f9d56a73b81097259b728d4fc4a61 Mon Sep 17 00:00:00 2001 From: handeadiguzel Date: Wed, 10 Aug 2016 13:12:08 -0700 Subject: [PATCH] Fix DeviceCommandController bug --- Common/Models/Commands/Command.cs | 3 ++- Common/Models/Parameter.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Common/Models/Commands/Command.cs b/Common/Models/Commands/Command.cs index 86d537bb..a0105c50 100644 --- a/Common/Models/Commands/Command.cs +++ b/Common/Models/Commands/Command.cs @@ -5,11 +5,12 @@ namespace Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Models.Co { public class Command { + /// /// Serialziation deserialziation constructor. /// [JsonConstructor] - internal Command() + public Command() { Parameters = new List(); } diff --git a/Common/Models/Parameter.cs b/Common/Models/Parameter.cs index 309c9859..fbd09dca 100644 --- a/Common/Models/Parameter.cs +++ b/Common/Models/Parameter.cs @@ -8,7 +8,7 @@ namespace Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Models /// Serialization deserialization constructor. /// [JsonConstructor] - internal Parameter() + public Parameter() { }