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

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

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

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

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

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

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

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

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

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

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