Example #1
0
        public CreateUserModel LoadCreateUser(CreateUserModel obj)
        {
            if (obj.EditUserID != 0)
            {
                obj = objUserManagementLogic.FetchUserDetails(obj, obj.EditUserID);
            }
            obj.LstUserRole   = objUserManagementLogic.GetUserRole();
            obj.LstAuthLimit  = objUserManagementLogic.FetchAuthorityLimit();
            obj.lstUserstatus = objUserManagementLogic.GetUserStatus();
            obj.ListImdLevel  = objUserManagementLogic.GetIMDLevel();
            // obj.Listchannel = objUserManagementLogic.GetChannel("");
            obj.lstBranchCode         = objUserManagementLogic.GetBranchCode();
            obj.lstReceiptingBankCode = objUserManagementLogic.GetReceiptingBankCode();
            // obj.lstAreaCode = objUserManagementLogic.GetAreaCode();
            obj.ListOffice = objUserManagementLogic.GetOffice();
            //obj.ListSalutation = objUserManagementLogic.GetSalutationsList();
            obj.LstGender       = objUserManagementLogic.FetchGenders();
            obj.ParentUsers     = objUserManagementLogic.FetchParentId();
            obj.secretQuestions = objUserManagementLogic.FetchSecretQuestion();

            return(obj);
        }