private string CreateShortURL() { var shortURL = RandomExtensions.Create(7); if (this.ExistByShortURL(shortURL)) { return(this.CreateShortURL()); } return(shortURL); }
private string CreateShortURL() { var shortURL = RandomExtensions.Create(7); if (this.ExistByShortURL(shortURL)) { return(this.CreateShortURL()); } return(shortURL); }