Example #1
0
        public void Save(FBEntity fbEntity)
        {
            SetVisitUser(fbEntity);
            CurrentUserPost user = new CurrentUserPost();

            user.EmployeeName   = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeName;
            user.EmployeeID     = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID;
            user.PostName       = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.UserPosts[0].PostName;
            user.DepartmentName = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.UserPosts[0].DepartmentName;
            user.CompanyName    = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.UserPosts[0].CompanyName;
            FBService.SaveAsync(fbEntity, user);
        }
Example #2
0
 public void Save(FBEntity fbEntity)
 {
     SetVisitUser(fbEntity);
     FBService.SaveAsync(fbEntity);
 }