public static HALResponse AddSelfLinkIfNotExists(this HALResponse response, HttpRequest request) { if (!response.HasSelfLink()) { response.AddSelfLink(request); } return(response); }