public async Task <IActionResult> Review(string addrId, string pmtId) { var acct = await _acctSvc.GetAccountById(User.FindFirstValue("Id")); var addr = await _acctSvc.GetAddressById(addrId); var pmt = await _acctSvc.GetPaymentInfoById(pmtId); var m = new CartReview { Account = acct, Address = addr, PaymentInfo = pmt }; return(View(m)); }
public async Task <IActionResult> EditAddress(string addrId) { var addr = await _acctSvc.GetAddressById(addrId); return(View(addr)); }