public async Task <CreateSecureCodeResultModel> CreateSecureCode(LoginStepOneModel model) { var result = await _requestManagerService.Post <ServiceResponse <CreateSecureCodeResultModel> >("/create_secure_code", model); if (result?.Code != 200) { throw new ManualException("کد اعتبار سنجی صحیح نمیباشد!"); } return(result.DataModel); }
public async Task <DestinationPortalModel> AddDestinationPortal(AddDestinationPortalModel model) { var result = await _requestManagerService.Post <ServiceResponse <DestinationPortalModel> >("/dportal_add", model); return(result.DataModel); }
public async Task <AccountModel> AddAccount(AddAccountModel model) { var result = await _requestManagerService.Post <ServiceResponse <AccountModel> >("/accounts_add", model); return(result.DataModel); }
public async Task CreateRequest(CreateRequest requestModel) { await _requestManagerService.Post <ServiceResponse <object> >("/create_payment_request", requestModel); }
public async Task <UserProfileModel> GetUserProfile(ServiceRequest reqModel) { var result = await _requestManagerService.Post <ServiceResponse <UserProfileModel> >("/profile_get", reqModel); return(result.DataModel); }
public async Task <PersonalPortalModel> AddPersonalPortal(AddPersonalPortalModel model) { var result = await _requestManagerService.Post <ServiceResponse <PersonalPortalModel> >("/portal_add", model); return(result.DataModel); }