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)
 {
 }