using Autofac; using PlanTempus.Components.Users.Create; namespace PlanTempus.Components; public class CommandHandler(IComponentContext context) : ICommandHandler { public async Task Handle(TCommand command) { var handler = context.Resolve>(); return await handler.Handle(command); } }