예제 #1
0
 public virtual void AddAllAffinitiesLink(Affinity affinity)
 {
     affinity.AddLink(GetAllAffinitiesLink());
 }
예제 #2
0
 public virtual void AddSelfLink(Affinity affinity)
 {
     affinity.AddLink(GetSelfLink(affinity.AffinityId));
 }
예제 #3
0
 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);
 }