diff --git a/src/CMSMicroservice.Application/ContractCQ/Commands/CreateNewContract/CreateNewContractCommand.cs b/src/CMSMicroservice.Application/ContractCQ/Commands/CreateNewContract/CreateNewContractCommand.cs index 725bea9..97657c5 100644 --- a/src/CMSMicroservice.Application/ContractCQ/Commands/CreateNewContract/CreateNewContractCommand.cs +++ b/src/CMSMicroservice.Application/ContractCQ/Commands/CreateNewContract/CreateNewContractCommand.cs @@ -8,6 +8,6 @@ public record CreateNewContractCommand : IRequest //متن قرارداد public string HtmlContent { get; init; } //نوع قرارداد - public UnknownEnumType Type { get; init; } + public ContractType Type { get; init; } } \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ContractCQ/Commands/UpdateContract/UpdateContractCommand.cs b/src/CMSMicroservice.Application/ContractCQ/Commands/UpdateContract/UpdateContractCommand.cs index e938d0a..6929026 100644 --- a/src/CMSMicroservice.Application/ContractCQ/Commands/UpdateContract/UpdateContractCommand.cs +++ b/src/CMSMicroservice.Application/ContractCQ/Commands/UpdateContract/UpdateContractCommand.cs @@ -10,6 +10,6 @@ public record UpdateContractCommand : IRequest //متن قرارداد public string HtmlContent { get; init; } //نوع قرارداد - public UnknownEnumType Type { get; init; } + public ContractType Type { get; init; } } \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ContractCQ/Queries/GetAllContractByFilter/GetAllContractByFilterQuery.cs b/src/CMSMicroservice.Application/ContractCQ/Queries/GetAllContractByFilter/GetAllContractByFilterQuery.cs index b8f2e60..854733e 100644 --- a/src/CMSMicroservice.Application/ContractCQ/Queries/GetAllContractByFilter/GetAllContractByFilterQuery.cs +++ b/src/CMSMicroservice.Application/ContractCQ/Queries/GetAllContractByFilter/GetAllContractByFilterQuery.cs @@ -19,5 +19,5 @@ public record GetAllContractByFilterQuery : IRequest