Example #1
0
 public void GetByFeature(ModelViewFeature feature)
 {
     if (feature == null)
     {
         entitiesView.MessageError(errorEmptyFeature);
         return;
     }
     entitiesView.Bind(clientModel.GetByFeature(feature));
 }
Example #2
0
        public List <ModelViewClient> GetByFeature(ModelViewFeature feature)
        {
            if (feature == null)
            {
                throw new ArgumentNullException(nameof(feature));
            }

            return(Convert(clientLogic.GetByFeature(feature.Feature)));
        }