Пример #1
0
 public async Task AddNew(Flight flight)
 {
     if (flight is Flight)
     {
         await service.CreateFlightAsync(flight);
     }
 }