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