public static Boolean DeletePaymentTypeController(int paymentTypeId, out string errorMessage) { errorMessage = ""; if (ViewPaymentTypeHandler.CheckPaymentReferencesHandler(paymentTypeId) == false) { ViewPaymentTypeHandler.DeletePaymentTypeHandler(paymentTypeId); return(false); } else { errorMessage = "Payment type has been used in another table"; return(true); } }
public static List <DetailPaymentType> FetchDataPaymentType() { return(ViewPaymentTypeHandler.FetchDataPaymentType()); }
public static List <PaymentType> GetAllPaymentTypeController() { return(ViewPaymentTypeHandler.getAllPaymentTypes()); }
public static List <PaymentType> getAllPaymentType() { return(ViewPaymentTypeHandler.getAllPaymentType()); }