@@ -6,33 +6,33 @@ sealed class Request
66{
77 //request dto shape is dictated by front-end team
88
9- public User UserDetails { get ; init ; }
10- public string Email { get ; init ; }
11- public string BirthDay { get ; init ; }
12- public string Gender { get ; init ; }
13- public ContactDetails Contact { get ; init ; }
14- public AddressDetails Address { get ; init ; }
9+ public User UserDetails { get ; set ; }
10+ public string Email { get ; set ; }
11+ public string BirthDay { get ; set ; }
12+ public string Gender { get ; set ; }
13+ public ContactDetails Contact { get ; set ; }
14+ public AddressDetails Address { get ; set ; }
1515
1616 public sealed class User
1717 {
18- public string FirstName { get ; init ; }
19- public string LastName { get ; init ; }
18+ public string FirstName { get ; set ; }
19+ public string LastName { get ; set ; }
2020 }
2121
2222 public sealed class ContactDetails
2323 {
24- public string MobileNumber { get ; init ; }
24+ public string MobileNumber { get ; set ; }
2525 public bool Whatsapp { get ; set ; }
2626 public bool Viber { get ; set ; }
2727 public bool Telegram { get ; set ; }
2828 }
2929
3030 public sealed class AddressDetails
3131 {
32- public string Street { get ; init ; }
33- public string City { get ; init ; }
34- public string State { get ; init ; }
35- public string ZipCode { get ; init ; }
32+ public string Street { get ; set ; }
33+ public string City { get ; set ; }
34+ public string State { get ; set ; }
35+ public string ZipCode { get ; set ; }
3636 }
3737
3838 internal sealed class Validator : Validator < Request >
0 commit comments