CQRSMicroservices.Articles.SellArticleCommand.ToJson C# (CSharp) Method

ToJson() public method

public ToJson ( ) : string
return string
    public override string ToJson()
    {
      return $@"{{ ""{GetType().FullName}"" : {{
          ""ArticleId"": ""{ArticleId}"",
          ""CustomerId"": ""{CustomerId}""
        }}
      }}";
    }
  }
SellArticleCommand