Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // wzรณr z janusza
- stri{
- "Captcha" : "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP4z8BQDwAEgAF/posBPQAAAABJRU5ErkJggg==",
- "Questions": [
- "Pytanie 1",
- "Pytanie 2"
- ],
- "RegistrationId": "asd675fdg",
- "Inputs" : [],
- "User" : {
- "FirstName" : "",
- "LastName": "",
- "Email": "",
- "PhoneNumber" : ""
- }
- }
- ///model usera
- using System.Collections.Generic;
- namespace Toci.Pentagram.Logic.Models
- {
- public class UserModel
- {
- public string FirstName { get; set; }
- public string LastName { get; set; }
- public string Email { get; set; }
- public string PhoneNumber { get; set; }
- public List<RegistrationTask> RegistrationTasks { get; set; }
- }
- }
- ///model Registration Task
- using System.Collections.Generic;
- namespace Toci.Pentagram.Logic.Models
- {
- public class RegistrationTask
- {
- public string Captcha { get; set; }
- public List<string> Questions { get; set; }
- public string RegistrationId { get; set; }
- public List<string> Inputs { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement