コード例 #1
0
 public static Organizer.Models.View.UserView MapUserToView(this Organizer.Context.User user)
 {
     return(new Organizer.Models.View.UserView {
         Id = user.Id,
         Name = user.Name,
         Surname = user.Surname,
         Deleted = user.Deleted
     });
 }
コード例 #2
0
 public static void SaveUserModify(this Organizer.Context.User user, Organizer.Models.Modify.UserModify userModify)
 {
     user.Name    = userModify.Name;
     user.Surname = userModify.Surname;
 }