Exemple #1
0
 public AdminEventDetailSingerRegistrationViewModel(int singerId, int?registrationId, int eventId, string firstName, string surname, VoiceGroup voice, DateTime?registrationDate, bool?registrationPositive, string comment)
 {
     SingerId             = singerId;
     RegistrationId       = registrationId;
     EventId              = eventId;
     FirstName            = firstName;
     Surname              = surname;
     Voice                = voice;
     RegistrationDate     = registrationDate;
     RegistrationPositive = registrationPositive;
     Comment              = comment;
 }
Exemple #2
0
 public RegistrationRow(string name, string surname, string phone, string email, string numberOfIdCard, string address, DateTime dateOfBirth, VoiceGroup voice, bool?isRegistered = null, string comment = null, DateTime?registrationDate = null)
 {
     Name             = name;
     Surname          = surname;
     Phone            = phone;
     Email            = email;
     NumberOfIdCard   = numberOfIdCard;
     Address          = address;
     DateOfBirth      = dateOfBirth;
     Voice            = voice;
     IsRegistered     = isRegistered;
     Comment          = comment ?? "";
     RegistrationDate = registrationDate;
 }