コード例 #1
0
        public ServiceResult <bool> UpdateL2Status(UpdateStatusIM model)
        {
            UserProfileDAC dac    = new UserProfileDAC();
            bool           result = dac.UpdateL2Status(model.Id, (int)model.VerifyStatus, model.Remark);

            return(ResultHelper.OKResult(result));
        }
コード例 #2
0
        public ServiceResult <bool> AddUser(UserRegInfo info)
        {
            UserProfileDAC dac    = new UserProfileDAC();
            bool           result = dac.AddUser(info);

            return(ResultHelper.OKResult(result));
        }
コード例 #3
0
        public ServiceResult <List <UserProfile> > GetListByIds(IdList form)
        {
            UserProfileDAC     dac         = new UserProfileDAC();
            List <UserProfile> profileList = dac.GetListByIds(form.Ids);

            return(ResultHelper.OKResult(profileList));
        }
コード例 #4
0
        public ServiceResult <bool> UpdateIdImage(UpdateIdImage model)
        {
            UserProfileDAC dac    = new UserProfileDAC();
            bool           result = dac.UpdateIdImage(model.Id, model.FrontImage, model.BackImage, model.HandHoldImage);

            return(ResultHelper.OKResult(result));
        }
コード例 #5
0
        public ServiceResult <int> GetCountByIdentityDocNo(FiiiPayIdentityDocNo form)
        {
            UserProfileDAC dac    = new UserProfileDAC();
            int            result = dac.GetCountByIdentityDocNo(form.IdentityDocNo);

            return(ResultHelper.OKResult(result));
        }
コード例 #6
0
        public ServiceResult <bool> UpdatePhoneNumber(UpdatePhoneNumberIM input)
        {
            UserProfileDAC dac    = new UserProfileDAC();
            bool           result = dac.UpdatePhoneNumber(input.Id, input.Cellphone);

            return(ResultHelper.OKResult(result));
        }
コード例 #7
0
        public ServiceResult <UserProfileListOM> GetUserProfileListForL2(UserProfileListIM input)
        {
            UserProfileDAC    dac        = new UserProfileDAC();
            int               totalCount = 0;
            UserProfileListOM output     = new UserProfileListOM();

            output.ResultSet  = dac.GetUserProfileListForL2(input.Cellphone, input.Country, input.OrderByFiled, input.IsDesc, input.VerifyStatus, input.PageSize, input.Index, out totalCount);
            output.TotalCount = totalCount;
            return(ResultHelper.OKResult(output));
        }
コード例 #8
0
        public ServiceResult <bool> UpdateLv1Info(Lv1Info form)
        {
            UserProfileDAC dac = new UserProfileDAC();

            return(ResultHelper.OKResult(dac.UpdateLv1Info(form)));
        }
コード例 #9
0
        public ServiceResult <bool> SetGenderById(GenderForm form)
        {
            UserProfileDAC dac = new UserProfileDAC();

            return(ResultHelper.OKResult(dac.SetGenderById(form.Id, form.Type)));
        }
コード例 #10
0
        public ServiceResult <UserProfile> GetById(FiiiPayId form)
        {
            UserProfileDAC dac = new UserProfileDAC();

            return(ResultHelper.OKResult(dac.GetById(form.Id)));
        }
コード例 #11
0
        public ServiceResult <bool> RemoveProfile(UserProfile profile)
        {
            UserProfileDAC dac = new UserProfileDAC();

            return(ResultHelper.OKResult(dac.Delete(profile.UserAccountId.Value)));
        }
コード例 #12
0
        public ServiceResult <bool> AddProfile(UserProfile userProfile)
        {
            UserProfileDAC dac = new UserProfileDAC();

            return(ResultHelper.OKResult(dac.AddProfile(userProfile)));
        }
コード例 #13
0
        public ServiceResult <bool> UpdateBirthday(DateIM form)
        {
            UserProfileDAC dac = new UserProfileDAC();

            return(ResultHelper.OKResult(dac.UpdateBirthday(form.Id, form.Date)));
        }