public async Task <Aircraft> AddAircraft(Aircraft aircraft) { if (aircraft == null || aircraft.Id == 0) { return(null); } else { return(await aircraftRepository.AddAsync(aircraft)); } }
public async Task <Aircraft> AddAircraft(Aircraft aircraft) { if (aircraft == null || aircraft.Id == 0) { return(null); } else { return(await aircraftRepository.AddAsync(aircraft)); } }