How to make a List<> from 2 list of object – Asp.net
I have object CartItem and Product. I need to make one List<> from these 2 objects. Tried: List<(CartItem,Product)> product = new List<(CartItem,Product)>(); Code: public async Task<IActionResult> Index() { var username = User.Identity.Name; if (username == null) { return Login(); }…