コード例 #1
0
        public async Task <IHttpActionResult> GetAccountBalanceJourneyByAccount(int accountId, int size = 50)
        {
            List <AccountBalanceJourney> slist = null;

            try
            {
                AccountBalanceJourneyBLL bll = new AccountBalanceJourneyBLL(_unit);

                slist = bll.GetListByAccount(accountId, size);
            }
            catch (Exception ex)
            {
                LogHelper.Error(_log, ex.ToString());
                return(InternalServerError(ex));
            }

            return(Ok(slist));
        }
コード例 #2
0
        public void Test_GetListByAccount()
        {
            AccountBalanceJourneyBLL bll = new AccountBalanceJourneyBLL(_unit);

            var sbList = bll.GetListByAccount(1036, -1);
        }