/// <summary> /// Changes the order of contents /// </summary> /// <param name="contentId">identifier of content</param> /// <param name="prevId">Identifier of previous content</param> /// <param name="limit">if the content is limit</param> /// <returns>returns true if the operation is successful</returns> public bool ChangeOrder(int contentId, int prevId, bool limit) { try { ContentRepository objcontent = new ContentRepository(this.session); objcontent.ChangeOrder(contentId, prevId, limit); return(true); } catch (Exception) { return(false); } }