Esempio n. 1
0
		public override IDbResult GetResult()
		{
			var prodResult = _prodRepo.GetProdResult<IProduct>(Status.Success);
			while (_result.Read())
			{
				var prod = _prodRepo.GetNewProduct();
				_dbHelper.PopulateProduct(_result, prod);
				prodResult.Items.Add(prod);
			}

			return (T)prodResult;
		}