private async Task <object> DeleteAirport(ResolveFieldContext <object> context) { var airportId = context.GetArgument <Guid>("airportID"); var airport = await _airportRepository.Delete(airportId); if (airport == null) { context.Errors.Add(new ExecutionError("Couldn't find airport to delete")); } return(airport); }