Example #1
0
 public User(PassportToAdd pass)
 {
     Name          = pass.Name;
     Surname       = pass.Surname;
     OIB           = pass.OIB;
     Email         = pass.Email;
     PasswordPlain = pass.PasswordPlain;
     Role          = "User";
 }
 public Account(PassportToAdd passport, int userId)
 {
     IBAN    = passport.IBAN;
     Balance = passport.Balance;
     UserId  = userId;
 }