ResetAddMig

This commit is contained in:
MarcEricMartel
2022-12-12 10:48:23 -08:00
parent 36d34968fd
commit 23284fc514
6 changed files with 47 additions and 1546 deletions

View File

@@ -99,7 +99,7 @@ public class InvoiceController : Controller {
}
try {
inv = _context.Invoices.Where(x => x.Id == id).Include("ShippingAddress").First();
inv = _context.Invoices.Where(x => x.Id == id).Include("ShippingAddress").Include(x => x.Payment).First();
} catch (Exception e) {
_logger.LogError(10, e.Message);
return BadRequest();