예제 #1
0
        public CreateUserModel FetchUserDetails(CreateUserModel objuser)
        {
            UserManagementLogic obj = new UserManagementLogic();

            if (objuser.PageName == "UserSearch")
            {
                objuser = obj.FetchUserData(objuser, true);
            }
            else if (objuser.PageName == "Login")
            {
                objuser = obj.FetchUserData(objuser, true);
            }
            else if (objuser.NodeID == decimal.Zero)
            {
                objuser = obj.FetchUserData(objuser);
            }
            else
            {
                objuser = obj.FetchUserDataByNodeID(objuser);
            }
            return(objuser);
        }