Esempio n. 1
0
 public async Task <IActionResult> Delete(int id)
 {
     return(await DeleteAsync(
                async() => await _genderService.GenderExistsAsync(id),
                async() => await _genderService.DeleteAsync(id)));
 }