public static async Task <TResponse> Send <TResponse>(this IGrainCommandHandler commandHandler, object command)
        {
            var commandType = command.GetType();
            var response    = await commandHandler.Send(command, commandType, typeof(TResponse));

            return((TResponse)response);
        }
 public static Task Send(this IGrainCommandHandler commandHandler, object command)
 {
     return(commandHandler.Send(command, command.GetType()));
 }
        public static Task Send <TCommand>(this IGrainCommandHandler commandHandler, TCommand command)
        {
            var commandType = typeof(TCommand);

            return(commandHandler.Send(command, commandType));
        }