public string CreerNouveaucompte(string codecompte, string codeclient, string devise, float solde) { string resul = null; try { resul = CompteDal.CreerNouveaucompte(codecompte, codeclient, devise, solde); } catch (Exception ex) { throw new Exception(ex.Message); } return(resul); }
public string DesactiverCompte(string codecompte) { string resul = null; try { resul = CompteDal.DesactiverCompte(codecompte); } catch (Exception ex) { throw new Exception(ex.Message); } return(resul); }
public static string Depotcompte(string codecompte, float nouvosolde) { string resul = null; try { resul = CompteDal.Depotcompte(codecompte, nouvosolde); } catch (Exception ex) { throw new Exception(ex.Message); } return(resul); }
public static float retraitcompte(float a, float b) { float resul = 0; try { resul = CompteDal.retraitcompte(a, b); } catch (Exception ex) { throw new Exception(ex.Message); } return(resul); }
public static string ModifierCompte(string codecompte, string devise, string typecompte, float solde) { string resul = null; try { resul = CompteDal.ModifierCompte(codecompte, devise, typecompte, solde); } catch (Exception ex) { throw new Exception(ex.Message); } return(resul); }
public static Compte RechercherCpcl(string codecompte) { Compte resul = null; try { resul = CompteDal.RechercherCpCL(codecompte); } catch (Exception ex) { throw new Exception(ex.Message); } return(resul); }
public static string Virement(string codecompte1, string codecompte2, float montant, string dattransaction, string utitisteur) { string resul = null; try { resul = CompteDal.Virement(codecompte1, codecompte2, montant, dattransaction, utitisteur); } catch (Exception ex) { throw new Exception(ex.Message); } return(resul); }
public static string Pret(string codecompte, float pret, string datepret, string dateremise) { string resul = null; try { resul = CompteDal.Pret(codecompte, pret, datepret, dateremise); } catch (Exception ex) { throw new Exception(ex.Message); } return(resul); }
public static List <Compte> TousComptec(string parametre) { List <Compte> l = null; try { l = CompteDal.Touscomptec(parametre); } catch (Exception e) { throw new Exception(e.Message); } return(l); }