fix referencing issues ...

fix seeding issues ...
fix SubCategory Refresh and Add Support for handle Category Referesh and Referencing ...
This commit is contained in:
2026-07-24 02:49:46 +03:30
parent a8e073901f
commit a029543b72
6 changed files with 275 additions and 11 deletions
@@ -0,0 +1,20 @@
using xCategoryService.Models.Dtos;
namespace xCategoryService.Configurations
{
/// <summary>
/// a Configuration Class for Providing Data to Configure XCategoryService ...
/// </summary>
public class XCategoryServiceConfiguration
{
/// <summary>
/// a List of Categories for Seeding ...
/// </summary>
public XCategoryResourceDto[] Categories { get; set; } = [];
/// <summary>
/// a List of SubCategories for Seeding ...
/// </summary>
public XSubCategoryResourceDto[] SubCategories { get; set; } = [];
}
}