Esempio n. 1
0
 /// <summary>
 /// Adds the menu to Add Patients
 /// </summary>
 /// <returns></returns>
 private Menu AddCovidPatientMenu()
 {
     return(new Menu()
     {
         MenuId = 4,
         Description = $"{ locService.GetString("Show_Add_Patients").ToUpper() }, { locService.GetString("Please_Select_Option").ToUpper() }",
         MenuItems =
         {
             new MenuItem()
             {
                 Description = locService.GetString("Show_Add_Patients"),
                 SubMenuId = 1,
                 Actions = new List <Action>()
                 {
                     () => personService.AddPatient()
                 }
             },
             new MenuItem()
             {
                 Description = locService.GetString("Return_Main_Menu"),
                 SubMenuId = 1,
             }
         }
     });
 }