public List <System_User> CheckUser(DataProvider dp, LoginModel model) { string md5Password = MD5Encrypt.MD5Encrypt64(model.Password); return(dp.System_User.Where(m => m.UserName == model.UserName && m.Password == md5Password && m.IsDel == false).ToList()); }