public CarsController(HypermediaCarsRoot carsRoot) { this.carsRoot = carsRoot; }
public HypermediaEntryPoint(HypermediaCustomersRoot hypermediaCustomersRoot, HypermediaCarsRoot hypermediaCarsRoot) { Links.Add(HypermediaLinks.EntryPoint.CustomersRoot, new HypermediaObjectReference(hypermediaCustomersRoot)); Links.Add(HypermediaLinks.EntryPoint.CarsRoot, new HypermediaObjectReference(hypermediaCarsRoot)); }