public ActionResult EditCustomer(int id) { var kundeDb = new KundeBLL(); Kunde enKunde = kundeDb.getSingleCustomer(id); return(View(enKunde)); }
public ActionResult DetailsCustomer(int id) { if (loginCheck() == false) { return(RedirectToAction("LoggInn")); } var kundeDb = new KundeBLL(); Kunde enKunde = kundeDb.getSingleCustomer(id); return(View(enKunde)); }