public async Task AddNew(Flight flight) { if (flight is Flight) { await service.CreateFlightAsync(flight); } }