public async Task <ActionResult> Delete(int id) { await _teacherService.DeteleTeacherByIdAsync(id); return(RedirectToAction("Index")); }