Example #1
0
        public ActionResult SaveMarketRoute(MarketRouteViewModel model)
        {
            model.TenantId = CurrentTenantId;
            var marketRoute = Mapper.Map(model, new MarketRoute());

            _marketServices.SaveMarketRoute(marketRoute, CurrentUserId);
            return(RedirectToAction("Index"));
        }