public LoginModel() { User = new UserModel(); }
public LoginModel(string password, string email) { User = new UserModel(); Password = password ?? throw new ArgumentNullException(nameof(password)); Email = email ?? throw new ArgumentNullException(nameof(email)); }