private bool PaymentTypeEntityExists(int id)
 {
     return(_paymentTypeRepository.IsAny(e => e.Id == id));
 }