public bool GetData() { dLogin objdLogin; try { objdLogin = new dLogin(); if (objdLogin.GetData(this)) { FillProperties(); return(true); } else { return(false); } } catch (Exception ex) { throw ex; } finally { objdLogin = null; } }
public bool LoginAuthentication(string TypPassword) { dLogin objdLogin; try { objdLogin = new dLogin(); if (GetData()) { if (this.password.Equals(TypPassword)) { return(true); } else { return(false); } } else { return(false); } } catch (Exception ex) { throw ex; } finally { objdLogin = null; } return(true); }
public bool SaveData() { try { dLogin objdLogin = new dLogin(); FillDataTable(); objdLogin.SaveData(this); } catch (Exception ex) { throw ex; } return(true); }
public bool GetLoginList(out DataTable dtLoginList) { dLogin objdLogin = new dLogin(); try { objdLogin.GetLoginList(out dtLoginList); return(true); } catch (Exception ex) { throw ex; } finally { objdLogin = null; } }