Exemple #1
0
 public void Add(UserInOrOut userInOrOut)
 {
     UserInOrOutDal dal = new UserInOrOutDal();
     dal.Add(userInOrOut);
 }
Exemple #2
0
        private UserInOrOut GetUserOutModel()
        {
            UserInOrOut userInorOut = new UserInOrOut();
            var root = doc.DocumentElement;
            userInorOut.userId = root.SelectSingleNode("FromUserName").InnerText;
            userInorOut.optTime = FormatTime(root.SelectSingleNode("CreateTime").InnerText);
            userInorOut.type = 2;

            return userInorOut;
        }