Ejemplo n.º 1
0
 public void RemoveEmailFromClub(UserDTO caller, EmailDTO email)
 {
     NullCheck.ThrowArgumentNullEx(caller, email);
     CheckPermission(caller);
     RemoveRelationFromDb(GetRelation(email));
 }
Ejemplo n.º 2
0
 public void RemovePhoneNumberFromClub(UserDTO caller, PhoneNumberDTO phoneNumber)
 {
     NullCheck.ThrowArgumentNullEx(caller, phoneNumber);
     CheckPermission(caller);
     RemoveRelationFromDb(GetRelation(phoneNumber));
 }
Ejemplo n.º 3
0
 private Teams_RegisteredUsersDTO GetTeamUserRelation(UserDTO user)
 {
     return(ServiceLocator.TeamRegisteredUserService.FindBy(
                tReJunc => tReJunc.RegisteredUser.UserId == user.Id && tReJunc.TeamId == Id).First());
 }