public async Task <ActionResult <List <ProductType> > > GetProductTypes() { var ProductType = await _productTypeRepo.ListAllAsync(); return(Ok(ProductType)); }
public async Task <ActionResult <List <ProductBrand> > > GetProductBrands() { var ProductBrand = await _productBrandRepo.ListAllAsync(); return(Ok(ProductBrand)); }