STAGE 3-3
This commit is contained in:
@@ -405,7 +405,7 @@ public partial class admin_follower_reg : MyWeb.config
|
||||
protected bool chk_pro_num(string txt, int num = 0)
|
||||
{
|
||||
bool success = false;
|
||||
var qry = _db.followers.AsEnumerable();
|
||||
var qry = _db.followers.AsQueryable();
|
||||
qry = qry.Where(q => q.f_number == txt);
|
||||
if (num > 0)
|
||||
qry = qry.Where(q => q.num != num);
|
||||
|
||||
Reference in New Issue
Block a user