public virtual void AddAllAffinitiesLink(Affinity affinity) { affinity.AddLink(GetAllAffinitiesLink()); }
public virtual void AddSelfLink(Affinity affinity) { affinity.AddLink(GetSelfLink(affinity.AffinityId)); }
public virtual void AddAffinityTechnologiesLink(Affinity affinity) { var pathFragment = string.Format("{0}/{1}/technologies", PathFragmentBase, affinity.AffinityId); var link = _commonLinkService.GetLink(pathFragment, "affinityTechnologies", HttpMethod.Get); affinity.AddLink(link); }