public bool check_login(Reader c) { rd_dal.fill(Convert.ToInt32(c.rdID)); if (rd_dal.rd.rdPwd.Equals(c.rdPwd)) { return(true); } else { return(false); } }
public static Reader fill(Reader rd) { ReaderDAL rdal = new ReaderDAL(); return(rdal.fill(Convert.ToInt32(rd.rdID))); }