// The following methods are required for dotNetify to handle client-side update on an item in an items property. // By convention, the method name starts with the items property name and ends with '_get' suffix. public ShoppingCartItemDTO ShoppingCartItems_get(string key) => ShoppingCartItems.FirstOrDefault(i => i.Id.ToString() == key);