コード例 #1
0
        public ActionResult UniqueEventName(EventViewModel viewModel)
        {
            var olympicEvent = viewModel.Map();

            return(Json(_eventService.NameIsUnique(olympicEvent), JsonRequestBehavior.AllowGet));
        }