Ejemplo n.º 1
0
		public void UpdatePostAttachment(PostAttachmentInfo objPostAttach, int topicId)
		{
			dataProvider.UpdatePostAttachment(objPostAttach.AttachmentId, objPostAttach.PostId, objPostAttach.FileId, objPostAttach.FileUrl, objPostAttach.FileName, objPostAttach.DisplayInline);
			//Caching.ClearPostAttachmentCache(topicId);
		}
Ejemplo n.º 2
0
		public int AddPostAttachment(PostAttachmentInfo objPostAttach, int topicId)
		{
			return dataProvider.AddPostAttachment(objPostAttach.PostId, objPostAttach.FileId, objPostAttach.FileUrl, objPostAttach.FileName, objPostAttach.DisplayInline);
			//Caching.ClearPostAttachmentCache(topicId);
		}