示例#1
0
 public EventGuestDTO(Guest guest) : base(guest)
 {
     Host = new EventUserDTO(guest.Host);
 }
 public void RemoveUser(EventUserDTO user, int eventId)
 {
     _context.Clients.All.removeUser(user.Name, user.UserID, eventId.ToString());
 }
示例#3
0
 public EventGuestDTO(Guest guest)
     : base(guest)
 {
     Host = new EventUserDTO(guest.Host);
 }