Esempio n. 1
0
        public async Task <bool> UpgradeDailyDepositLimit(DailyDepositLimitRequest dailyDepositLimitRequest)
        {
            List <Agent> agent = new List <Agent>();

            try
            {
                await _context.Database.ExecuteSqlCommandAsync("dbo.SP_UpgradeDailyDepositLimit " +
                                                               "@requestid = {0}, @dailydeplimit = {1} ", dailyDepositLimitRequest.RequestID, dailyDepositLimitRequest.DailyDepLimit);

                return(true);
            }
            catch (Exception Ex)
            {
                throw;
            }
        }
Esempio n. 2
0
        public async Task <bool> UpgradeAgent([FromBody] DailyDepositLimitRequest dailyDepositLimitRequest)
        {
            var agentResponse = await _agentRepository.UpgradeDailyDepositLimit(dailyDepositLimitRequest);

            return(agentResponse);
        }