示例#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);
 }