Api/Netina.Repository/Handlers/Discounts
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
..
Validators feat : refactor , version 0.27.31.52 , fix issues 2024-05-07 11:01:55 +03:30
CreateDiscountCommandHandler.cs Add support for brand-based discounts 2025-03-23 09:40:55 +03:30
DeleteDiscountCommandHandler.cs fix files 2024-08-09 21:55:16 +03:30
GetDiscountQueryHandler.cs fix files 2024-08-09 21:55:16 +03:30
GetDiscountsQueryHandler.cs fix files 2024-08-09 21:55:16 +03:30
UpdateDiscountCommandHandler.cs Add brand-specific discount feature 2025-04-14 18:02:07 +03:30