public BrokerScoreOutModel(BrokerModel model) { Id = model.Id; FirstName = model.FirstName; LastName = model.LastName; Email = model.Email; PhoneNumber = model.PhoneNumber; QualityGrade = model.QualityGrade; }
public BrokerOutViewModel(BrokerModel broker) : this(broker.Id, broker.FirstName, broker.LastName, broker.Email, broker.PhoneNumber, broker.QualityGrade) { }