Esempio n. 1
0
 private ActionResult HealthProfessional_Render(string formId, HealthProfessional details)
 {
     return(NavigableView <HealthProfessionalModel>(formId, Sections.HealthProfessional, (m, f) =>
     {
         m.TitlePrefix = BsgText.TitlePrefix();
         m.HealthProfessional = details ?? f.HealthProfessional;
     }));
 }
Esempio n. 2
0
 private ActionResult ExpectedChildren_Render(string formId, ExpectedChildren details)
 {
     return(NavigableView <ExpectedChildrenModel>(formId, Sections.ExpectedChildren, (m, f) =>
     {
         m.TitlePrefix = BsgText.TitlePrefix();
         m.Title = BsgText.ExpectedChildrenTitle();
         m.ExpectedChildren = details ?? f.ExpectedChildren;
     }));
 }