public IActionResult GetFirst() { ModelState.Clear(); var model = sys_reg_repository.MoveFirst(); SetKey(model.Syr_Cst_Code, model.Syr_Sys_Code, model.Syr_Ver_Code); return(View(nameof(Index), model)); }
public IActionResult GetFirst() { ModelState.Clear(); var model = sys_reg_repository.MoveFirst(); if (model == null) { return(RedirectToAction(nameof(Index))); } return(RedirectToAction(nameof(SystemRegForm), model)); }
public IActionResult GetFirst() { ModelState.Clear(); return(View(nameof(Index), sys_reg_repository.MoveFirst())); }