// GET: api/Company public IEnumerable <PaymentBillModel> Get(int id) { var service = new RentalService(); return(service.GetAllPaymentBillsById(id)); }