コード例 #1
0
 public BrokerScoreOutModel(BrokerModel model)
 {
     Id           = model.Id;
     FirstName    = model.FirstName;
     LastName     = model.LastName;
     Email        = model.Email;
     PhoneNumber  = model.PhoneNumber;
     QualityGrade = model.QualityGrade;
 }
コード例 #2
0
 public BrokerOutViewModel(BrokerModel broker) : this(broker.Id, broker.FirstName, broker.LastName, broker.Email, broker.PhoneNumber, broker.QualityGrade)
 {
 }