Exemple #1
0
        public void SetDeptor(PersonModel deptorPerson, EmployerModel employer, bool?isDeptorCompany)
        {
            IsDeptorCompany = IsDeptorCompany;

            if (IsDeptorCompany == false)
            {
                DeptorPerson = deptorPerson;
                Employer     = employer;
            }
            else
            {
                DeptorPerson = null;
                Employer     = null;
            }
        }
 public void SetDetails(string phoneNumber1, string phoneNumber2, string phoneNumber3, string pesel, EmployerModel employer)
 {
     PhoneNumber1 = phoneNumber1;
     PhoneNumber2 = phoneNumber2;
     PhoneNumber3 = phoneNumber3;
     PESEL        = pesel;
     Employer     = employer;
 }