示例#1
0
 public IActionResult Create(Docker docker)
 {
     docker.SaveAsync();
     UserController.LoginUser.Dockers.AddAsync(docker);
     return(RedirectToAction("Index", "Docker"));
 }
示例#2
0
 public IActionResult Edit(Docker docker)
 {
     docker.SaveAsync();
     return(RedirectToAction("Index", "Docker"));
 }