public ViewResult Instructions(TreatmentBMPPrimaryKey treatmentBMPPrimaryKey) { var treatmentBMP = treatmentBMPPrimaryKey.EntityObject; var viewData = new InstructionsViewData(CurrentPerson, treatmentBMP); return(RazorView <Instructions, InstructionsViewData>(viewData)); }
private ViewResult ViewInstructions(InstructionsViewModel viewModel, OnlandVisualTrashAssessment ovta) { var viewData = new InstructionsViewData(CurrentPerson, NeptunePage.GetNeptunePageByPageType(NeptunePageType.OVTAInstructions), ovta); return(RazorView <Instructions, InstructionsViewData, InstructionsViewModel>(viewData, viewModel)); }