public JsonResult AnonTypeWithDictionaryProperty([FromBody] CustomGroupObj3 model, [FromServices] string service) { return(Json(new { listObj = new List <CustomGroupObject1>() })); }
public CustomGroupObject1 WithFromQuery([FromQuery] string id, [FromBody] CustomGroupObj3 body, [FromServices] AService service) { return(new CustomGroupObject1() { AnotherStringList = new List <string>() { id, body.StringProp } }); }