@page "/products/{product}" @using Biskilog_Accounting.Shared.CustomModels; @using Biskilog_Accounting.Shared.Interfaces; @inject IProduct m_productRepo @inject ICalculator m_calculator
@if (m_editMode) {
@foreach (ProductUnits unit in Product.Units) {
}
} else { //Read Only View
}