Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public ActionResult Buy() { CustomerM customer = authService.DecodeJWT(User.Identity.Name); foreach (var shopping in shoppingService.FindAll().Where(x => x.CustomerId == customer.Id && x.Status == "Active")) { shopping.Status = "Pending"; shopping.Date = DateTime.Now; shoppingService.Edit(shopping); } return(RedirectToAction("Index")); }