コード例 #1
0
 public IActionResult Create(Individual ind)
 {
     if (ModelState.IsValid)
     {
         individualRepository.Add(ind);
         return(RedirectToAction("Index"));
     }
     return(View(ind));
 }