public static PeoplePickerListOutput LogExceptionMessages(PeoplePickerListOutput peoplepickerOutputException, Exception ex)
{
peoplepickerOutputException.Status = Constants.ErrorStatus;
peoplepickerOutputException.ErrorDetails = ex.Message;
return peoplepickerOutputException;
}