make : // TODO: Make a generic service for any LookupData type (#594)
* make : // TODO: Make a generic service for any LookupData type => CatalogLookupDataService * Update src/BlazorAdmin/Services/CachedCatalogTypeServiceDecorator.cs Co-authored-by: Steve Smith <steve@kentsmiths.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
using BlazorAdmin.Helpers;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using BlazorShared.Interfaces;
|
||||
using BlazorShared.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BlazorAdmin.Pages.CatalogItemPage
|
||||
{
|
||||
@@ -12,10 +12,10 @@ namespace BlazorAdmin.Pages.CatalogItemPage
|
||||
public ICatalogItemService CatalogItemService { get; set; }
|
||||
|
||||
[Microsoft.AspNetCore.Components.Inject]
|
||||
public ICatalogBrandService CatalogBrandService { get; set; }
|
||||
public ICatalogLookupDataService<CatalogBrand> CatalogBrandService { get; set; }
|
||||
|
||||
[Microsoft.AspNetCore.Components.Inject]
|
||||
public ICatalogTypeService CatalogTypeService { get; set; }
|
||||
public ICatalogLookupDataService<CatalogType> CatalogTypeService { get; set; }
|
||||
|
||||
private List<CatalogItem> catalogItems = new List<CatalogItem>();
|
||||
private List<CatalogType> catalogTypes = new List<CatalogType>();
|
||||
|
||||
Reference in New Issue
Block a user