public IHttpActionResult DeleteBlog(string storeId, string blogName) { base.CheckCurrentUserHasPermissionForObjects(ContentPredefinedPermissions.Delete, new ContentScopeObject { StoreId = storeId }); _pagesService.DeleteBlog(storeId, blogName); return(StatusCode(HttpStatusCode.NoContent)); }
public IHttpActionResult DeleteBlog(string storeId, string blogName) { _pagesService.DeleteBlog(storeId, blogName); return(StatusCode(HttpStatusCode.NoContent)); }