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