Пример #1
0
        public ActionResult Generate()
        {
#if !DEBUG
            if (HttpContext.Request.UrlReferrer?.ToString() != "http://niceguid.com/")
            {
                return(new HttpNotFoundResult());
            }
#endif

            return(Json(_generator.GetNiceGuid()));
        }