Пример #1
0
 public void GenerateData(PersonData p, Date today)
 {
     id         = p.ID;
     fName      = p.fName;
     sName      = p.sName;
     travelDate = today;
     nat        = p.nationality;
     sex        = p.sex;
     visaText   = string.Format(
         "Dear Sir or Madam,\nI am writing to support the visa\napplication of {0} {1}.\n\nPlease let them enter your country.\nYours faithfully,\nThe {2} embassy",
         fName,
         sName,
         Visa.NationalityToString(nat)
         );
 }