public IActionResult PostUpdateCustomer(Customer userEntry) { if (_dal.UpdateCustomer(userEntry)) { return(Ok()); } else { return(BadRequest()); } }
public IActionResult PostUpdateCustomer(Customer userEntry) { if (_dal.UpdateCustomer(userEntry)) { return(Ok()); } else { return(BadRequest()); } }