Пример #1
0
 public List <Vehicle> GetList()
 {
     return(_vehicleDAL.GetAll().ToList());
 }
Пример #2
0
        public List <Vehicle> GetActiveteVehiclesByCompanyID(int companyID, bool isActive)//aktif araçları döner
        {
            List <Vehicle> vehicles = _vehicleDAL.GetAll(a => a.CompanyID == companyID && a.IsActive == isActive).ToList();

            return(vehicles);
        }