public List <model1> LogIn([FromBody] User dataUser) { var data = UserInfoCollection.Find(it => it.USERID == dataUser.USERID && it.PASSWORD == dataUser.PASSWORD).ToList(); return(data); }
public List <model1> GetAllUserInfo(string TID, string CWT) { var data = UserInfoCollection.Find(it => true).ToList(); return(data); }