public void GetByFeature(ModelViewFeature feature) { if (feature == null) { entitiesView.MessageError(errorEmptyFeature); return; } entitiesView.Bind(clientModel.GetByFeature(feature)); }
public List <ModelViewClient> GetByFeature(ModelViewFeature feature) { if (feature == null) { throw new ArgumentNullException(nameof(feature)); } return(Convert(clientLogic.GetByFeature(feature.Feature))); }