protected async Task <ActionResult> ExecuteCommandWithoutResult(AuthorizationCommandBase command)
        {
            command.UserId = UserId;
            await _mediator.Send(command);

            return(Ok());
        }
 protected async Task <TResult> SendAsync <TResult>(AuthorizationCommandBase <TResult> query)
     where TResult : class
 {
     query.UserId = UserId;
     return(await _mediator.Send(query));
 }