public IActionResult AddEdit(UserViewModel newUser) { if (newUser.Id == -1) { _storage.AddUser(newUser.ConvertToUserDomainModel()); } else { _storage.UpdateUser(newUser.ConvertToUserDomainModel()); } return(RedirectToAction(nameof(Index))); }