Affecto.PositiveFeedback.Store.MongoDb.FeedbackRepository.AddEmployeePicture C# (CSharp) Method

AddEmployeePicture() private method

private AddEmployeePicture ( System.Guid employeeId, byte picture ) : ObjectId
employeeId System.Guid
picture byte
return ObjectId
        private ObjectId AddEmployeePicture(Guid employeeId, byte[] picture)
        {
            ObjectId pictureReference = ObjectId.Empty;
            if (picture != null)
            {
                pictureReference = binaryFiles.UploadFromBytes(employeeId.ToString(), picture);
            }
            return pictureReference;
        }