private static AssetsDto CreateLinks(AssetsDto response, Resources resources)
        {
            var values = new { app = resources.App };

            response.AddSelfLink(resources.Url <AssetsController>(x => nameof(x.GetAssets), values));

            if (resources.CanCreateAsset)
            {
                response.AddPostLink("create", resources.Url <AssetsController>(x => nameof(x.PostAsset), values));
            }

            if (resources.CanUpdateAsset)
            {
                var tagValue = new { values.app, name = "tag" };

                response.AddPutLink("tags/rename", resources.Url <AssetsController>(x => nameof(x.PutTag), tagValue));
            }

            response.AddGetLink("tags", resources.Url <AssetsController>(x => nameof(x.GetTags), values));

            return(response);
        }