public async Task <ActionResult <ApiResponse <PaymentMethod> > > Delete(string paymentMethodId) { try { var deletedPaymentMethod = await _paymentMethodService.RemoveById(paymentMethodId); return(deletedPaymentMethod.CreateSuccessResponse("Payment method deleted successfully!")); } catch (Exception exception) { return(BadRequest(exception.CreateErrorResponse())); } }