Exemple #1
0
        public IActionResult Create(OptionViewModel vm)
        {
            var result = _optionRepository.Create(vm);

            return(RedirectToAction("Edit", new { id = result.Data }));
        }