Ejemplo n.º 1
0
        public IEnumerable <Models.License> Get(string license, string product)
        {
            var ip = _accessor.HttpContext.Connection.RemoteIpAddress.ToString();

            if (license == "" || product == "")
            {
                yield return(null);
            }
            yield return(Licenses.GetLicense(product, license, ip));
        }