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