Пример #1
0
 public UserResponse(User user)
 {
     this.Id = user.Id;
     this.DisplayName = user.DisplayName;
     this.Email = user.Email;
     this.FirstName = user.FirstName;
     this.LastName = user.LastName;
 }
Пример #2
0
 public void Update(User entity)
 {
     db.Update(entity);
 }
Пример #3
0
 public void Create(User entity)
 {
     db.Insert<User>(entity);
 }