public async Task <IActionResult> Delete(int id) { return(await DeleteAsync( async() => await _taskStatusService.TaskStatusExistsAsync(id), async() => await _taskStatusService.DeleteAsync(id))); }
public async Task <IActionResult> Delete(int id) { return(await DeleteAsync( async() => await _taskStatusService.TaskStatusExistsAsync(id), async() => await _taskStatusService.DeleteAsync(id))); }