Advertisement
Guest User

by

a guest
Aug 5th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.14 KB | None | 0 0
  1. // wzรณr z janusza
  2.  
  3. stri{
  4.     "Captcha" : "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP4z8BQDwAEgAF/posBPQAAAABJRU5ErkJggg==",  
  5.     "Questions": [
  6.         "Pytanie 1",
  7.         "Pytanie 2"
  8.     ],
  9.     "RegistrationId": "asd675fdg",
  10.     "Inputs" : [],
  11.     "User" :  {
  12.         "FirstName" : "",
  13.         "LastName":  "",
  14.         "Email":  "",
  15.         "PhoneNumber" : ""
  16.     }
  17. }
  18.  
  19.  
  20. ///model usera
  21.  
  22. using System.Collections.Generic;
  23.  
  24. namespace Toci.Pentagram.Logic.Models
  25. {
  26.     public class UserModel
  27.     {
  28.         public string FirstName { get; set; }
  29.         public string LastName { get; set; }
  30.  
  31.         public string Email { get; set; }
  32.         public string PhoneNumber { get; set; }
  33.  
  34.         public List<RegistrationTask> RegistrationTasks { get; set; }
  35.     }
  36.  
  37. }
  38.  
  39.  
  40. ///model Registration Task
  41.  
  42. using System.Collections.Generic;
  43.  
  44. namespace Toci.Pentagram.Logic.Models
  45. {
  46.     public class RegistrationTask
  47.     {
  48.         public string Captcha { get; set; }
  49.         public List<string> Questions { get; set; }
  50.         public string RegistrationId { get; set; }
  51.         public List<string> Inputs { get; set; }
  52.     }
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement