예제 #1
0
 public LoginModel()
 {
     User = new UserModel();
 }
예제 #2
0
 public LoginModel(string password, string email)
 {
     User     = new UserModel();
     Password = password ?? throw new ArgumentNullException(nameof(password));
     Email    = email ?? throw new ArgumentNullException(nameof(email));
 }