Пример #1
0
        async void schedule(Object o, EventArgs e)
        {
            DatabasePOST conn = new DatabasePOST();
            await conn.postMaintenance((scheduledDate.Date).ToString(), CurrentUser.ID, ID);

            await Navigation.PushModalAsync(new EmployeeMain());
        }
Пример #2
0
        async void submitClick(object sender, EventArgs e)
        {
            DatabasePOST conn = new DatabasePOST();
            await conn.postMaintenance(CurrentUser.ID, summary.Text, explanation.Text);

            summary.Text     = "";
            explanation.Text = "";
            await DisplayAlert("Success", "Maintenance request submitted", "OK");
        }