public IActionResult Create(OptionViewModel vm) { var result = _optionRepository.Create(vm); return(RedirectToAction("Edit", new { id = result.Data })); }
public IActionResult Create(OptionViewModel vm) { var result = _optionRepository.Create(vm); return(RedirectToAction("Edit", new { id = result.Data })); }