示例#1
0
        public ActionResult <List <Advertisement> > about(long advertID)
        {
            var ipAddress = HttpContext.Connection.RemoteIpAddress;

            communication.log($"adverID -> {advertID}", MethodBase.GetCurrentMethod().Name, ipAddress.ToString());


            DbSelect select = new DbSelect(Configuration, _hostingEnvironment);

            return(select.getAdvertById(advertID));
        }