/// <summary> /// Check user on exist /// </summary> /// <param name="userId">User Id</param> /// <param name="password">Password</param> /// <returns>Exist user</returns> public virtual bool IsUserExist ( int userId, string password ) { using (ISelect db = new QQContext()) { return(db.IsUserExist ( userId, password )); } }
/// <summary> /// Check user on exist /// </summary> /// <param name="login">Login</param> /// <param name="password">Password</param> /// <returns>Exist user</returns> public virtual bool IsUserExist ( string login, string password ) { using (ISelect db = new QQContext()) { return(db.IsUserExist ( login, password )); } }