private void ClearMovements(string transactionId = null) { var clearMovementsCommand = new ClearMovementsCommand() { TransactionId = transactionId }; this.mediator.Send(clearMovementsCommand); }
public Task <Unit> Handle(ClearMovementsCommand request, CancellationToken cancellationToken) { this.shareMovementsRepository.Clear(request.TransactionId); return(Unit.Task); }