示例#1
0
        public async Task <IActionResult> YachtSearchResult(YachtSearchModel searchModel)
        {
            var model = await PreparingYarchItemsModel(searchModel);

            string url = ($"{_webHelper.GetHostName()}{Url.Action("YachtSearchIndex").TrimStart('/')}{_webHelper.GetQueryString()}").ToLower();

            return(Ok(new
            {
                model,
                url
            }));
        }