示例#1
0
 public async Task <List <CarModel> > GetCars()
 {
     if (await _service.GetCars() != null)
     {
         return(await _service.GetCars());
     }
     else
     {
         return(new List <CarModel>());
     }
 }