public ActionResult handelsbetingelser(int id) { Wrapper r = new Wrapper(); r.userprofile = Service.Service.findUser(id); r.FAQ = Service.Service.getFAQ(); return View(r); }
public ActionResult createUser() { Wrapper w = new Wrapper(); w.loginuser = new LoginUser(); w.userprofile = new UserProfile(); return View(w); }
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); }
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); }
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); }
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); }
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); }