private byte[] ValidateProfilePhoto(byte[] profilePhoto) { if ((profilePhoto?.Length ?? 0) == 0) { throw UserException.InvalidProfilePhotoException(profilePhoto); } return(profilePhoto); }
private byte[] ValidateProfilePhoto(byte[] profilePhoto) { if ((profilePhoto?.Length ?? 0) == 0) { throw UserException.InvalidProfilePhotoException(profilePhoto); } return(profilePhoto); }