public userDTO getCompleteUserSnapshot(string emailAddress) { userPoco userPocoObject = userCRUDValidationObject.getCompletUserProfile(emailAddress); userDTO userDTOObject = userDTOMappingObject.UserMapper().Map <userDTO>(userPocoObject); return(userDTOObject); }
public List <userDTO> getAllUserDTOs() { List <userPoco> allUserList = getAllUser(); List <userDTO> allUserDTOsList = _userDTOMappingObject.UserMapper().Map <List <userPoco>, List <userDTO> >(allUserList); return(allUserDTOsList); }