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)); }
public void Test_GetListByAccount() { AccountBalanceJourneyBLL bll = new AccountBalanceJourneyBLL(_unit); var sbList = bll.GetListByAccount(1036, -1); }