Пример #1
0
        async Task AddItem(Schedule item)

        {
            Boolean result = await manager.SaveTaskAsync(item);

            if (result == true)
            {
                await DisplayAlert("Alert", "Schedule is saved", "OK");
            }
            else
            {
                await DisplayAlert("Alert", "Schedule couldnot save. Please try again!", "OK");
            }
        }
 async Task addSchedule(Schedule schedule)
 {
     bool result = await manager.SaveTaskAsync(schedule);
 }