public List <Transport> ViewDetails() { CCIRepository _repository = CCIRepository.CreateRepository(); List <Transport> list = new List <Transport>(); list = _repository.ViewTransportDetails(); return(list); }