UpdateBrandRequest to include IsActive flag and update BrandService to handle inactive brands correctly

This commit is contained in:
2026-09-08 11:44:16 +05:30
parent 04004437bb
commit 68aea8105d
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
namespace Distribution.Features.Brand;
public record CreateBrandRequest(string Name);
public record UpdateBrandRequest(string Name);
public record UpdateBrandRequest(string Name, bool IsActive = true);
public record BrandResponse(Guid Id, string Name, bool IsActive, DateTime CreatedAt);