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

            return(View(model));
        }