Пример #1
0
        public async Task <ActionResult> SaveTripTemplateAsync(AdminEditTripTemplateViewModel model)
        {
            _CheckForAdminAccess();

            await AdminUtility.SaveTripTemplate(model.TripTemplate);

            return(RedirectToAction("TripTemplates"));
        }