public bool DealerExists(int id) { var result = _repository.DealerExistsAsync(id); return(result.Result); }
public async Task <bool> DealerExistsAsync(int id) { return(await _repository.DealerExistsAsync(id)); }