0

Why is this not working:

@Html.Partial("Training" + Model.Week + Model.Page, Model);

My partial view file names: Training11.cshtml, Training12.cshtml, etc And is there a solution for this? Otherwise I need to create 8 * 8 if(/switch) statements..

4

0 回答 0