public async Task <IActionResult> GetList(Guid accountId, int skip, int take)
        {
            var query = new GetAccountActionsQuery
            {
                UserId    = CurrentUserId,
                AccountId = accountId,
                Skip      = skip,
                Take      = take
            };

            return(Ok(await _mediator.Send(query)));
        }
 public async Task <List <AccountAction> > Handle(GetAccountActionsQuery request, CancellationToken cancellationToken)
 {
     return(await _table.GetListAsync(request.AccountId, request.UserId));
 }