Example #1
0
 public List<UserType> GetAllUserTypes()
 {
     List<UserTypeBDO> userTypeBDOList = userLogic.GetAllUserTypes();
     List<UserType> allUserTypes = new List<UserType>();
     foreach (UserTypeBDO userTypeBDO in userTypeBDOList)
     {
         UserType userType = new UserType();
         TranslateUserTypeBDOToUserTypeDTO(userTypeBDO, userType);
         allUserTypes.Add(userType);
     }
     return allUserTypes;
 }
Example #2
0
 public void TranslateUserTypeBDOToUserTypeDTO(UserTypeBDO userTypeBDO, UserType userType)
 {
     userType.UsersType = userTypeBDO.UsersType;
     userType.UserTypeCode = userTypeBDO.UserTypeCode;
 }