예제 #1
0
        public ActionResult SearchAvailable(int id, string query)
        {
            var model = new RouteMarketsViewModel()
            {
                RouteId = id
            };

            if (query != null)
            {
                model = _marketServices.GetRouteMarketsById(id, CurrentTenantId, query);
            }

            return(PartialView("_SearchAvailableResult", model));
        }