Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public IHttpActionResult Post(TestViewModel value)
  2. {
  3. //Código
  4. }
  5.  
  6. public class TestViewModel
  7. {
  8. public IDictionary<string, int> Ids { get; set; }
  9. }
  10.  
  11. public Dictionary<string, int> Ids { get; set; }
  12.  
  13. Ids.Add("Llave1", 1);
  14. Ids.Add("Llave2", 2);
  15. Ids.Add("Llave3", 3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement