コード例 #1
0
        public ActionResult Update(User user)
        {
            var userData = UserMapper.Map(user);
            userRepository.Update(userData);

            return RedirectToRoute("NoteList");
        }
コード例 #2
0
 public UserModel(User User, IList<Note> Notes, IList<Comment> Comments)
 {
     this.User = User;
     this.Notes = Notes;
     this.Comments = Comments;
 }