impl;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.softedge.myapp.entities.Product;
import com.softedge.myapp.repository.ProductRepository;
@Repository
public class ProductRepositoryImpl implements ProductRepository {
public ProductRepositoryImpl() {
products = new ArrayList<Product>();
products.add(new Product(101, "Apple iPhone 5", "Mobiles", 30000));
products.add(new Product(102, "Dell Laptop i5558 Inspiron", "laptops",
50000));
}