示例#1
0
        // EF ile kodlanmıştır.
        private bool isLogin(string ka, string sf)
        {
            _db = new dbmusteriEntities();
            var kullanici = _db.tblusers.Where(x => x.kullanici_adi.Equals(ka) && x.sifre.Equals(sf));

            if (kullanici.Count() == 0)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }
示例#2
0
 public tblmusterimanager()
 {
     _context = new dbmusteriEntities();
 }