public ProductType FindByProductId(string productId) { var p = Products.Find(productId); return(ProductTypes.Find(p.TypeId)); }
public ProductType FindByCatalogId(string catalogId) { var c = CatalogEntries.Find(catalogId); return(ProductTypes.Find(c.TypeId)); }