Esempio n. 1
0
        public static void AddSelfLink(this MinimalSpeakerModel speaker, UrlHelper url)
        {
            var selfLink = ModelFactory.CreateLink(url, "self", "Speaker", new { speakerId = speaker.Id });

            speaker.Links.Add(selfLink);
        }