Esempio n. 1
0
        public ActionResult Link(string key)
        {
            var link = linksRepository.GetByKeyAndIncrement(key);

            if (link != null)
            {
                return(Redirect(link.Url));
            }
            return(View("NotFound"));
        }