public IOrderServiceWithPosition <T> MoveItemAtPosition(int postion) { var orderService = new OrderableService <T>(repository) { postion = postion }; return(orderService); }
IOrderServiceWithConstrainedPosition <T> IOrderServiceWithPosition <T> .ConstrainedBy( Expression <Func <T, bool> > predicate) { var orderService = new OrderableService <T>(repository) { postion = postion, predicate = predicate }; return(orderService); }