public Drone Delete(int id) { if (id < 1) { throw new ArgumentException("The Id entered has to be at least 1"); } return(_droneRepo.Delete(id)); }
public async Task <bool> Delete(Drone drone) { return(await _droneRepository.Delete(drone)); }
public async Task Delete(int id) { await _repository.Delete(id); }