예제 #1
0
 public ActionResult handelsbetingelser(int id)
 {
     Wrapper r = new Wrapper();
     r.userprofile = Service.Service.findUser(id);
     r.FAQ = Service.Service.getFAQ();
     return View(r);
 }
예제 #2
0
 public ActionResult createUser()
 {
     Wrapper w = new Wrapper();
     w.loginuser = new LoginUser();
     w.userprofile = new UserProfile();
     return View(w);
 }
예제 #3
0
 public ActionResult exclusiveCheese(int? id)
 {
     List<Product> list = Service.Service.getProductCategory("Eksklusive oste");
     Wrapper w = new Wrapper();
     w.list = list;
     w.userprofile = Service.Service.findUser(id.GetValueOrDefault());
     return View(w);
 }
예제 #4
0
 public ActionResult DiscountCheese(int? id)
 {
     List<Product> list = Service.Service.getProductCategory("Discount pris");
     Wrapper w = new Wrapper();
     w.list = list;
     w.userprofile = Service.Service.findUser(id.GetValueOrDefault());
     return View(w);
 }
예제 #5
0
 public ActionResult cheeseTable(int? id)
 {
     List<Product> list = Service.Service.getProductCategory("Osteborde");
     Wrapper w = new Wrapper();
     w.list = list;
     w.userprofile = Service.Service.findUser(id.GetValueOrDefault());
     return View(w);
 }
예제 #6
0
 public ActionResult sidsteNyt(int id)
 {
     List<Product> list = Service.Service.findNewest();
     UserProfile u = Service.Service.findUser(id);
     Wrapper r = new Wrapper();
     r.list = list;
     r.userprofile = u;
     return View(r);
 }
예제 #7
0
 public ActionResult productInfo(int id, int? bid)
 {
     Wrapper w = new Wrapper();
     w.userprofile = Service.Service.findUser(bid.GetValueOrDefault());
     w.produkt = Service.Service.findProduct(id);
     return View(w);
 }