Exemplo n.º 1
0
        public GenericResponse <List <DepositWithdrawalContract> > GetAllDepositWithdrawals(DepositWithdrawalRequest request)
        {
            SoCBanking.Business.Banking.DepositWithdrawal depositWithdrawalBusiness = new Business.Banking.DepositWithdrawal();
            var response = depositWithdrawalBusiness.GetAllDepositWithdrawals(request);

            return(response);
        }
Exemplo n.º 2
0
        public GenericResponse <List <DepositWithdrawalContract> > FilterDepositWithdrawalsByProperties(DepositWithdrawalRequest request)
        {
            SoCBanking.Business.Banking.DepositWithdrawal depositWithdrawalBusiness = new Business.Banking.DepositWithdrawal();
            var response = depositWithdrawalBusiness.FilterDepositWithdrawalsByProperties(request);

            return(response);
        }
Exemplo n.º 3
0
        public GenericResponse <DepositWithdrawalContract> DoNewDepositWithdrawalTransfer(DepositWithdrawalRequest request)
        {
            if (request.DataContract.TransferDate.GetValueOrDefault() < new DateTime(1753, 01, 01))
            {
                DateTime sqlRange = new DateTime(1753, 01, 01);
                request.DataContract.TransferDate = sqlRange;
            }

            SoCBanking.Business.Banking.DepositWithdrawal depositWithdrawalBusiness = new Business.Banking.DepositWithdrawal();
            var response = depositWithdrawalBusiness.DoNewDepositWithdrawalTransfer(request);

            return(response);
        }