public static ContentEditor GetByURL(Guid SiteID, string requestedURL)
{
ContentEditor _item = null;
using (CarrotCMSDataContext _db = CarrotCMSDataContext.Create()) {
vw_carrot_EditorURL query = CompiledQueries.cqGetContentEditorURL(_db, SiteID, requestedURL);
if (query != null) {
_item = new ContentEditor(query);
}
}
return _item;
}