async Task DeleteStudent()
        {
            var answer = await Application.Current.MainPage.DisplayAlert("Confirm", "Delete confirm", "Yes", "No");

            if (!answer)
            {
                return;
            }

            var connection = await studentService.CheckConnection();

            if (!connection)
            {
                await Application.Current.MainPage.DisplayAlert("Error", "No internet connection", "Cancel");

                return;
            }

            await studentService.Delete(Endpoints.DELETE_STUDENTS, this.ID);

            await Application.Current.MainPage.DisplayAlert("Message", "The process is successful", "Confirm");

            var studentViewModel = StudentsViewModel.GetInstance();
            var studentDelete    = studentViewModel.AllStudents.FirstOrDefault(x => x.ID == this.ID);

            studentViewModel.AllStudents.Remove(studentDelete);
            studentViewModel.GetStudentsByName();
        }