Example #1
0
 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);
     }
 }
Example #2
0
        public static Reader fill(Reader rd)
        {
            ReaderDAL rdal = new ReaderDAL();

            return(rdal.fill(Convert.ToInt32(rd.rdID)));
        }