// 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); } }
public tblmusterimanager() { _context = new dbmusteriEntities(); }