Example #1
0
        public void Unverify(UnverifyOnlineDepositRequest request)
        {
            var onlineDeposit = _repository.OnlineDeposits.First(x => x.Id == request.Id);

            UpdateVerificationStatus(
                onlineDeposit,
                VerificationStatus.Unverified,
                request.UnverifyReason,
                request.Remarks);
        }
Example #2
0
        public VerifyOnlineDepositResponse Unverify(UnverifyOnlineDepositRequest request)
        {
            VerifyPermission(Permissions.Unverify, Modules.DepositVerification);

            var data = _onlineDepositQueries.GetOnlineDepositById(request.Id);

            CheckBrand(data.BrandId);

            var model = Mapper.Map <Core.Payment.Interface.Data.UnverifyOnlineDepositRequest>(request);

            _onlineDepositCommands.Unverify(model);

            return(new VerifyOnlineDepositResponse
            {
                Success = true
            });
        }
Example #3
0
 public UnverifyOnlineDepositResponse UnverifyOnlineDeposit(UnverifyOnlineDepositRequest request)
 {
     return(WebClient.SecurePostAsJson <UnverifyOnlineDepositRequest, UnverifyOnlineDepositResponse>(Token, _url + AdminApiRoutes.UnverifyOnlineDeposit, request));
 }