//-----------Applicant Portal Menu------------//
int applicant_menu()
{
    char choice;
    clrscr();
    gotoxy(29,10);
    textcolor(12);
    cprintf("Please enter your option");
    textcolor(7);
    cout<<"\n\t[1] Proceed to login\n\t[2] Go Back";
    draw_border(6,8,78,15,0);
    gotoxy(29,13);
    cin>>choice;
    switch (choice)
    {
    case '1':
        clrscr();
        applicant();
        break;
    case '2':
        break;
    default :
        clrscr();
        error(1);
        break;
    }
    return 0;
}
Exemple #2
0
Statement::Applicant Statement::Statement::createApplicant(std::string passportId, std::string firstName, std::string middleName, std::string lastName, std::string dateOfBirth){
    Applicant applicant(passportId, firstName, middleName, lastName, parseDate(dateOfBirth));
    applicant.setId( applicantRepository->add(applicant) );
    return applicant;
}