Ensures that a blog post exists, if not creates a new one. Used primarily for uploading files, where file upload can be performed before the post is entered.
Namespace: MonoSoftware.MonoX.BusinessLayerAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public virtual BlogPostEntity EnsurePostExists(
Guid postId
) |
Visual Basic |
---|
Public Overridable Function EnsurePostExists (
postId As Guid
) As BlogPostEntity |
Visual C++ |
---|
public:
virtual BlogPostEntity^ EnsurePostExists(
Guid postId
) |
F# |
---|
abstract EnsurePostExists :
postId : Guid -> BlogPostEntity
override EnsurePostExists :
postId : Guid -> BlogPostEntity |
Return Value
Type:
BlogPostEntityBlog post retrieved by its primary id.
Implements
IBlogBLL..::..EnsurePostExists(Guid)See Also