namespace Connected.Services; public abstract class ServiceAction : ServiceOperation, IAction where TArgs : IDto { public async Task Invoke(TArgs e) { Arguments = e; await OnInvoke(); } protected virtual async Task OnInvoke() { await Task.CompletedTask; } }