fix seeding issues ... fix SubCategory Refresh and Add Support for handle Category Referesh and Referencing ...
20 lines
597 B
C#
20 lines
597 B
C#
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; } = [];
|
|
}
|
|
} |