- ➕ 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 |
||
---|---|---|
.. | ||
Abstracts | ||
Behaviors | ||
Extensions | ||
Handlers | ||
Migrations | ||
Models | ||
Repositories | ||
Services | ||
Netina.Repository.csproj | ||
RepositoryConfig.cs |