Example #1
0
        public override IDbResult GetResult()
        {
            var prodResult = _prodRepo.GetProdResult <IProductOption>(Status.Success);

            while (_result.Read())
            {
                var prod = _prodRepo.GetNewProductOption();
                _dbHelper.PopulateProductOp(_result, prod);
                prodResult.Items.Add(prod);
            }

            return((T)prodResult);
        }