public IEnumerable <BusModel> Get() { BusRepository busRepository = new BusRepository(); return(busRepository.BusInGarage2().ToList() .Select(x => new BusModel { BusId = x.buszId })); }