Ejemplo n.º 1
0
 public List <Vehicle> GetList()
 {
     return(_vehicleDAL.GetAll().ToList());
 }
Ejemplo n.º 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);
        }