Ejemplo n.º 1
0
 public IActionResult Add(UserViewModel user)
 {
     Repo.AddUser(new ChoreApp.Models.User(-1, user.Name));
     return(new RedirectToActionResult("Index", "Home", null));
 }