public async Task <IActionResult> ResetEventConsumer(string name) { var eventConsumer = await GetGrain().ResetAsync(name); var response = EventConsumerDto.FromEventConsumerInfo(eventConsumer.Value, this); return(Ok(response)); }
public async Task <IActionResult> ResetEventConsumer(string consumerName) { var eventConsumer = await GetGrain().ResetAsync(consumerName); var response = EventConsumerDto.FromEventConsumerInfo(eventConsumer, Resources); return(Ok(response)); }
public async Task <IActionResult> StopEventConsumer(string name) { var eventConsumer = await GetGrain().StopAsync(name); var response = EventConsumerDto.FromEventConsumerInfo(eventConsumer.Value, Resources); return(Ok(response)); }