Fix the issues with the responses in the endpoints

This commit is contained in:
Oscar Morales
2025-06-10 23:13:54 -06:00
parent 82ebe4408b
commit dcf801beff
12 changed files with 258 additions and 216 deletions

View File

@@ -12,7 +12,6 @@ namespace Core.Thalos.Application.UseCases.Modules.Input
public string Route { get; set; } = null!;
public int? Order { get; set; }
public ApplicationsEnum? Application { get; set; } = null!;
public StatusEnum Status { get; set; }
public bool Validate()
{
return Id != null;

View File

@@ -194,8 +194,7 @@ namespace Core.Thalos.Application.UseCases.Modules
Application = command.Application,
Route = command.Route,
Order = command.Order,
Icon = command.Icon,
Status = command.Status
Icon = command.Icon
};
string id = command.Id;