Example #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));
        }
Example #2
0
        public ServiceResult <bool> AddUser(UserRegInfo info)
        {
            UserProfileDAC dac    = new UserProfileDAC();
            bool           result = dac.AddUser(info);

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

            return(ResultHelper.OKResult(profileList));
        }
Example #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));
        }
Example #5
0
        public ServiceResult <int> GetCountByIdentityDocNo(FiiiPayIdentityDocNo form)
        {
            UserProfileDAC dac    = new UserProfileDAC();
            int            result = dac.GetCountByIdentityDocNo(form.IdentityDocNo);

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

            return(ResultHelper.OKResult(result));
        }
Example #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));
        }
Example #8
0
        public ServiceResult <bool> UpdateLv1Info(Lv1Info form)
        {
            UserProfileDAC dac = new UserProfileDAC();

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

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

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

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

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

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