예제 #1
0
        public static Attachment AttachmentInsert(Attachment attachment)
        {
            attachment = attachment.Save();

            FeedService.FeedAdd("Created", attachment);

            return attachment;
        }
        public static Attachment AttachmentUpdate(Attachment attachment)
        {
            if (!attachment.IsDirty)
            {
                return(attachment);
            }

            attachment = attachment.Save();

            return(attachment);
        }
예제 #3
0
        public static Attachment AttachmentUpdate(Attachment attachment)
        {
            attachment = attachment.Save();

            FeedService.FeedAdd("Updated", attachment);

            return attachment;
        }
        public static Attachment AttachmentInsert(Attachment attachment)
        {
            attachment = attachment.Save();

            return(attachment);
        }