/// <summary> /// 查询所有车辆信息 /// </summary> /// <returns></returns> public static IList <Car_Cars> GetAllCars() { try { return(carService.GetAllCars()); } catch (Exception ex) { throw new Exception(ex.ToString()); } }
public HttpResponse All() { var model = carsService.GetAllCars(User.Id); return(View(model)); }