public async Task <IActionResult> DeleteStudent(int id) { var student = await _quantumITAppService.DeleteStudentAsync(id); return(Ok(student)); throw new Exception($"deleting student {id} failed on save!"); }
public async Task <IActionResult> DeleteStudent(int id) { var student = await _quantumITAppService.DeleteStudentAsync(id); return(Ok(student)); }