Exemplo n.º 1
0
        public AbiturientViewModel(EntrantDto entrant)
        {
            NameSurname = $"{entrant.Surname} {entrant.Name}";

            Score = $"Конкурсний бал: {entrant.TotalScore}";

            FirstSubject =
                $"- {entrant.CertificateOfTesting.FirstSubject}: {entrant.CertificateOfTesting.FirstMark}";

            SecondSubject =
                $"- {entrant.CertificateOfTesting.SecondSubject}: {entrant.CertificateOfTesting.SecondMark}";

            ThirdSubject =
                $"- {entrant.CertificateOfTesting.ThirdSubject}: {entrant.CertificateOfTesting.ThirdMark}";

            SchoolAverageMark =
                $"- Середній бал документа про освіту: {entrant.CertificateOfSecondaryEducation.AverageMark}";
        }
Exemplo n.º 2
0
 public AbiturientPage(EntrantDto entrant)
 {
     InitializeComponent();
     BindingContext = _viewModel = new AbiturientViewModel(entrant);
 }