public async Task <string> RevokeTemporaryCapital([FromBody][NotNull] RevokeTemporaryCapitalRequest request) { request.RequiredNotNull(nameof(request)); var account = await _accountManagementService.EnsureAccountValidAsync(request.AccountId .RequiredNotNullOrWhiteSpace(nameof(request.AccountId))); return(await _accountManagementService.StartRevokeTemporaryCapital( request.EventSourceId.RequiredNotNullOrWhiteSpace(nameof(request.EventSourceId)), request.AccountId.RequiredNotNullOrWhiteSpace(nameof(request.AccountId)), request.RevokeEventSourceId, request.Comment, request.AdditionalInfo)); }