public ActionResult RedirectUrl(string encodedId) { var url = service.ResolveUrlIdentifier(encodedId); service.UpdateUrlStatistics(encodedId, Request.Headers); return(Redirect(url)); }