Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public IHttpActionResult Post(TestViewModel value)
- {
- //Código
- }
- public class TestViewModel
- {
- public IDictionary<string, int> Ids { get; set; }
- }
- public Dictionary<string, int> Ids { get; set; }
- Ids.Add("Llave1", 1);
- Ids.Add("Llave2", 2);
- Ids.Add("Llave3", 3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement