Esempio n. 1
0
 public static IEnumerable <IProductState> GetByProperty <TPropertyType>(this IProductApplicationService applicationService,
                                                                         System.Linq.Expressions.Expression <Func <IProductState, TPropertyType> > propertySelector,
                                                                         TPropertyType propertyValue, IList <string> orders = null, int firstResult = 0, int maxResults = int.MaxValue)
 {
     return(applicationService.GetByProperty(ReflectUtils.GetPropertyName <IProductState, TPropertyType>(propertySelector), propertyValue, orders, firstResult, maxResults));
 }