Refactor code structure for improved readability and maintainability

This commit is contained in:
Torsten Brendgen
2026-05-16 16:45:28 +02:00
parent 14f856fdb3
commit 96a3e98109
426 changed files with 29236 additions and 114 deletions

View File

@@ -0,0 +1,11 @@
namespace Microsoft.SelfService.Portal.Core.API.Dto.TemplateCategory.Add
{
public class AddTemplateCategoryDto
{
public Guid ServiceId { get; set; }
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public bool IsActive { get; set; } = true;
public string? Color { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace Microsoft.SelfService.Portal.Core.API.Dto.TemplateCategory.Edit
{
public class EditTemplateCategoryDto
{
public Guid ServiceId { get; set; }
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public bool IsActive { get; set; } = true;
public string? Color { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace Microsoft.SelfService.Portal.Core.API.Dto.TemplateCategory.Get
{
public class GetTemplateCategoryDetailsDto : BaseDetailsDto
{
public Guid ServiceId { get; set; }
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public bool IsActive { get; set; }
public string? Color { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace Microsoft.SelfService.Portal.Core.API.Dto.TemplateCategory.Get
{
public class GetTemplateCategoryDto : BaseDto
{
public Guid ServiceId { get; set; }
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public bool IsActive { get; set; }
public string? Color { get; set; }
}
}