public IActionResult GetPaymentTypesByStatus(bool isActive) { var allPaymentTypes = _paymentTypeRepo.GetPaymentTypesByStatus(isActive); return(Ok(allPaymentTypes)); }