public ConditionResult Apply()
        {
            if (IsNeedReapply() == false)
            {
                return Result;
            }

            using (var context = RepositoryContext.Create())
            {
                var stockrepository = context.GetRepository<StockRepository>();
                var stocks = stockrepository.GetAll(Specification<Stock>.Eval(s => s.IpoDate <= CutoffTime)).ToList();
                Result = new ConditionResult(stocks.Where(IsSatifiedBy).Select(s => s.Id));
                _serializedResult = ContainerHelper.Resolve<ISerializer>().JsonSerializer(Result);
            }

            return Result;
        }
 public void UpdateResult(ConditionResult result)
 {
     ConditionResult = result;
     _serializedConditionResult = ContainerHelper.Resolve<ISerializer>().JsonSerializer(result);
 }