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)); }
public ServiceResult <bool> AddUser(UserRegInfo info) { UserProfileDAC dac = new UserProfileDAC(); bool result = dac.AddUser(info); return(ResultHelper.OKResult(result)); }
public ServiceResult <List <UserProfile> > GetListByIds(IdList form) { UserProfileDAC dac = new UserProfileDAC(); List <UserProfile> profileList = dac.GetListByIds(form.Ids); return(ResultHelper.OKResult(profileList)); }
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)); }
public ServiceResult <int> GetCountByIdentityDocNo(FiiiPayIdentityDocNo form) { UserProfileDAC dac = new UserProfileDAC(); int result = dac.GetCountByIdentityDocNo(form.IdentityDocNo); return(ResultHelper.OKResult(result)); }
public ServiceResult <bool> UpdatePhoneNumber(UpdatePhoneNumberIM input) { UserProfileDAC dac = new UserProfileDAC(); bool result = dac.UpdatePhoneNumber(input.Id, input.Cellphone); return(ResultHelper.OKResult(result)); }
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)); }
public ServiceResult <bool> UpdateLv1Info(Lv1Info form) { UserProfileDAC dac = new UserProfileDAC(); return(ResultHelper.OKResult(dac.UpdateLv1Info(form))); }
public ServiceResult <bool> SetGenderById(GenderForm form) { UserProfileDAC dac = new UserProfileDAC(); return(ResultHelper.OKResult(dac.SetGenderById(form.Id, form.Type))); }
public ServiceResult <UserProfile> GetById(FiiiPayId form) { UserProfileDAC dac = new UserProfileDAC(); return(ResultHelper.OKResult(dac.GetById(form.Id))); }
public ServiceResult <bool> RemoveProfile(UserProfile profile) { UserProfileDAC dac = new UserProfileDAC(); return(ResultHelper.OKResult(dac.Delete(profile.UserAccountId.Value))); }
public ServiceResult <bool> AddProfile(UserProfile userProfile) { UserProfileDAC dac = new UserProfileDAC(); return(ResultHelper.OKResult(dac.AddProfile(userProfile))); }
public ServiceResult <bool> UpdateBirthday(DateIM form) { UserProfileDAC dac = new UserProfileDAC(); return(ResultHelper.OKResult(dac.UpdateBirthday(form.Id, form.Date))); }