public string UpdateContacts(BillingContact contactBilling, ShippingContact contactShipping) { try { using (_context) { _context.SPUpdateContactInfo(Thread.CurrentPrincipal.Identity.Name, contactBilling.FirstName, contactBilling.LastName, contactBilling.Address, contactBilling.Apt, contactBilling.City, contactBilling.State, contactBilling.ZipCode, contactBilling.PhoneNumber, "", false); _context.SPUpdateContactInfo(Thread.CurrentPrincipal.Identity.Name, contactShipping.FirstName, contactShipping.LastName, contactShipping.Address, contactShipping.Apt, contactShipping.City, contactShipping.State, contactShipping.ZipCode, contactShipping.PhoneNumber, "", true); _context.SaveChanges(); return("Saved"); } } catch (Exception ex) { CustomLogging.LogMessage(TracingLevel.ERROR, new Exception("Error saving user contact information", ex)); return("Failed"); } }