AzUrlShortener icon indicating copy to clipboard operation
AzUrlShortener copied to clipboard

Move code to be more OO

Open fboucher opened this issue 4 years ago • 2 comments

In UrlShortener.cs around line 109 the cleaning should be inside the object ShortUrlEntity

            string longUrl = input.Url.Trim();
            string vanity = string.IsNullOrWhiteSpace(input.Vanity) ? "" : input.Vanity.Trim();
            string title = string.IsNullOrWhiteSpace(input.Title) ? "" : input.Title.Trim();

┆Issue is synchronized with this Trello card by Unito

fboucher avatar Mar 05 '21 15:03 fboucher

@FBoucher,

I think this one needs some love. Can I work on this one :) ?!

ananta avatar Nov 05 '23 06:11 ananta