public static void DeleteIssueAttachment(int attachmentId)
        {
            // validate input
            if (attachmentId <= DefaultValues.GetIssueAttachmentIdMinValue())
            {
                throw (new ArgumentOutOfRangeException("attachmentId"));
            }

            DataAccessLayerBaseClass DBLayer = DataAccessLayerBaseClassHelper.GetDataAccessLayer();

            DBLayer.DeleteIssueAttachment(attachmentId);
        }
 public IssueAttachment(int issueId, string creatorUsername, string fileName, string contentType, byte[] attachment)
     : this(DefaultValues.GetIssueAttachmentIdMinValue(), issueId, creatorUsername, String.Empty, DefaultValues.GetDateTimeMinValue(), fileName, contentType, attachment)
 {
 }
 public IssueAttachment(string fileName, string contentType, byte[] attachment)
     : this(DefaultValues.GetIssueAttachmentIdMinValue(), DefaultValues.GetIssueIdMinValue(), String.Empty, String.Empty, DefaultValues.GetDateTimeMinValue(), fileName, contentType, attachment)
 {
 }