public IActionResult SaveCustomer([FromBody] CustomerAccount customerAccount) { try { return(CreatedAtRoute("DefaultApi", new { id = _customerAccountService.SaveCustomer(customerAccount) }, customerAccount)); } catch (Exception) { throw; } }
public IActionResult SaveCustomer([FromBody] CustomerAccount customerAccount) { try { return(CreatedAtRoute("DefaultApi", new { id = _customerAccountService.SaveCustomer(customerAccount) }, customerAccount)); } catch (Exception) { throw; } }