public void SetUp() { base.SetUp(); movementApplicationService = ApplicationContext.Current["movementApplicationService"] as IMovementApplicationService; movementConfirmationApplicationService = ApplicationContext.Current["movementConfirmationApplicationService"] as IMovementConfirmationApplicationService; }
public static IEnumerable <IMovementConfirmationState> GetByProperty <TPropertyType>(this IMovementConfirmationApplicationService applicationService, System.Linq.Expressions.Expression <Func <IMovementConfirmationState, TPropertyType> > propertySelector, TPropertyType propertyValue, IList <string> orders = null, int firstResult = 0, int maxResults = int.MaxValue) { return(applicationService.GetByProperty(ReflectUtils.GetPropertyName <IMovementConfirmationState, TPropertyType>(propertySelector), propertyValue, orders, firstResult, maxResults)); }