public JsonResult GetJsonValueWithEnum([FromBody] ValidationTestArgument2 arg2) { return(Json(new ValidationTestArgument2 { Value = arg2.Value })); }
public JsonResult GetJsonValueWithArray([FromBody] ValidationTestArgument2 arg1) { return(Json(new ValidationTestArgument2 { Array = arg1.Array })); }