public async Task <IActionResult> GetCustomerByName(string name) { CustomerDTO customerDTO; try { customerDTO = await _customerFacade.GetCustomerByName(name); } catch (Exception ex) { throw ex; } return(base.Ok(customerDTO)); }