@@ -0,0 +1,1366 @@
+/**%0A * Created by Djidjelly Siclait on 11/26/2016.%0A */%0Apackage com.evapps.Controller;%0A%0Aimport com.evapps.Service.CRUD.ReadDataService;%0Aimport com.evapps.Service.CRUD.UpdateDataService;%0Aimport com.sun.org.apache.xpath.internal.operations.Mod;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Controller;%0Aimport org.springframework.ui.Model;%0Aimport org.springframework.web.bind.annotation.GetMapping;%0Aimport org.springframework.web.servlet.ModelAndView;%0A%0Aimport javax.websocket.server.PathParam;%0A%0A@Controller%0Apublic class StoreController %7B%0A    // Services%0A    @Autowired%0A    private ReadDataService RDS;%0A    @Autowired%0A    private UpdateDataService UDS;%0A%0A    // Gets%0A    @GetMapping(%22/home%22)%0A    public ModelAndView store(Model model)%7B%0A%0A        // TODO: Use current logged in users email%0A        //model.addAttribute(%22shoppingCart%22, RDS.findRegisteredUserHistory(email).getShoppingCart());%0A        model.addAttribute(%22selection%22, RDS.findAllRegisteredProducts());%0A%0A        return new ModelAndView(%22%22);%0A    %7D%0A%0A    @GetMapping(%22/item/%7Bid%7D%22)%0A    public ModelAndView item(Model model, @PathParam(%22id%22) Integer productId)%7B%0A%0A        model.addAttribute(%22item%22, RDS.findRegisteredProduct(productId));%0A%0A        return new ModelAndView(%22%22);%0A    %7D%0A%0A    // Posts%0A    // TODO: AddToCart%0A    // TODO: On-click Buy form one item%0A%7D%0A

Create StoreController