Table of Contents

Class DeactivateSubModuleCommand

Namespace
KadicAuth.Application.SubModules.Commands
Assembly
KadicAuth.Application.dll
public sealed record DeactivateSubModuleCommand : IRequest<Result>, IBaseRequest
Inheritance
object
DeactivateSubModuleCommand
Implements
IRequest<Result>
IBaseRequest

Remarks

Devuelve KadicErp.Core.Common.Utils.Result y no Unit porque puede fallar por validacion: un submodulo con permisos activos o contratado por algun tenant no se desactiva. Con Unit el handler no tenia forma de reportarlo.

Constructors

DeactivateSubModuleCommand(Guid)

public DeactivateSubModuleCommand(Guid Id)

Parameters

Id Guid

Remarks

Devuelve KadicErp.Core.Common.Utils.Result y no Unit porque puede fallar por validacion: un submodulo con permisos activos o contratado por algun tenant no se desactiva. Con Unit el handler no tenia forma de reportarlo.

Properties

Id

public Guid Id { get; init; }

Property Value

Guid