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