public FollowupDetails(Followup followup, FollowupAilment ailment)
        {
            InitializeComponent();
            this.Title = ailment.ailment;
            var advicePage = new NavigationPage(new FollowupAdvicePage(followup.advice));

            advicePage.Title = "Advice";

            var treatmentPage = new NavigationPage(new FollowupTreatmentPage(followup.treatment));

            treatmentPage.Title = "Treatment";

            Children.Add(advicePage);
            Children.Add(treatmentPage);
        }
Beispiel #2
0
 //FollowupAilment Table
 public Task <int> saveFollowUpAilment(FollowupAilment followupAilment)
 {
     return(database.InsertAsync(followupAilment));
 }