Exemplo n.º 1
0
        public async Task EditAttendance()
        {
            var attendanceEditor        = new AttendanceEditor(this.SelectedAttendance);
            var selectedAttendanceIndex = this.AttendanceList.IndexOf(this.SelectedAttendance);

            await this.GoToPage(attendanceEditor);

            attendanceEditor.Model().AttendanceSaved = async(attendance) =>
            {
                this.AttendanceList.RemoveAt(selectedAttendanceIndex);
                this.AttendanceList.Insert(selectedAttendanceIndex, attendance);
                await this.ClosePage();
            };
        }
Exemplo n.º 2
0
        public async Task EditAttendance()
        {
            var attendanceEditor = new AttendanceEditor(this.SelectedAttendance);

            await this.GoToPage(attendanceEditor);
        }