Api/Netina.Domain/CommandQueries/Commands
Amir Hossein Khademi 48d3386233 Add brand-specific discount feature
-  Add `MudAutocomplete` for brand selection in UI
  Introduced a new component in `DiscountActionDialogBox.razor`.
- 🆕 Introduce `IsBrandEnable` property in ViewModel
  Added to manage the state of brand-specific discounts.
- 🔄 Update ViewModel logic for `IsBrandEnable`
  Ensured mutual exclusivity with other discount types.
- 🛠️ Handle brand selection in `SubmitEditAsync`
  Added logic for brand selection and validation.
- 🔍 Modify `SearchBrand` method in ViewModel
  Fetch and return brand data for selection.
- 📦 Change target framework to `net5.0`
  Updated `Netina.Common.csproj` and `Netina.Domain.csproj`.
- 🆙 Update `UpdateDiscountCommand` and `DiscountLDto`
  Included `BrandId` and `BrandName` properties.
- 🛠️ Modify `UpdateDiscountCommandHandler`
  Handle brand-specific discount updates.
- 🆕 Add `SubmitEditAsync` method in ViewModel
  For handling discount edits.

Changes made by Amir.H Khademi
2025-04-14 18:02:07 +03:30
..
AddressCommands.cs CHANGE PROJECT NAME TO " NETINA " 2024-04-16 20:01:34 +03:30
BrandCommands.cs feat(FaqInActions) , feat(FaqManagementPage) , feat(FaqController) 2024-08-07 16:15:53 +03:30
CommentCommands.cs Change to comment PHASE A 2024-09-24 00:34:53 +03:30
ComplexCommands.cs CHANGE PROJECT NAME TO " NETINA " 2024-04-16 20:01:34 +03:30
DiscountCommands.cs Add brand-specific discount feature 2025-04-14 18:02:07 +03:30
FaqCommands.cs feat(FaqInActions) , feat(FaqManagementPage) , feat(FaqController) 2024-08-07 16:15:53 +03:30
MarketerCommands.cs feat : add version 0.25.27.48 , add CS system 2024-04-25 02:47:50 +03:30
NewsletterCommands.cs CHANGE PROJECT NAME TO " NETINA " 2024-04-16 20:01:34 +03:30
OrderBagCommands.cs fix(TorobGetProducts) , fix(EmallsProducts), VER 1.0.4.5 2024-06-11 12:55:02 +03:30
OrderCommands.cs fix(CancelOrder) 2024-08-06 10:30:01 +03:30
PaymentCommands.cs feat : add slug to blog and products , refactor domain project 2024-04-22 13:33:39 +03:30
ProductCategoryCommands.cs feat(FaqInActions) , feat(FaqManagementPage) , feat(FaqController) 2024-08-07 16:15:53 +03:30
ProductCommands.cs feat(FaqInActions) , feat(FaqManagementPage) , feat(FaqController) 2024-08-07 16:15:53 +03:30
ShippingCommands.cs feat : add slug to blog and products , refactor domain project 2024-04-22 13:33:39 +03:30
SubProductCommands.cs Add DiversitySecondaryValue to SubProduct 2025-04-14 15:43:49 +03:30