Created
January 2, 2018 05:31
-
-
Save KennethanCeyer/7ee920c24f2942f2c836b6334b0d61e9 to your computer and use it in GitHub Desktop.
parameter binding with pascal naming model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestCModel | |
{ | |
public string A { get; set; } | |
public string B { get; set; } | |
} | |
[HttpPost] | |
public void TestC( | |
TestCModel model | |
) | |
{ | |
Debug.WriteLine($"a: {model.A}, b: {model.B}"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
request
output