protected override async Task ExecuteCommandAsync(IndexEntitiesCommand <T> command) { await _searchProvider.AddOrUpdateEntitiesAsync(command.Models); }