public IHttpActionResult CheckName(string storeId, string name, string language, string id = "") { base.CheckCurrentUserHasPermissionForObjects(ContentPredefinedPermissions.Read, new ContentScopeObject { StoreId = storeId }); var retVal = _menuService.CheckList(storeId, name, language, id); var response = new CheckNameResult { Result = retVal }; return Ok(response); }
public IHttpActionResult CheckName(string storeId, [FromUri]string pageName, [FromUri]string language) { var result = _pagesService.CheckList(storeId, pageName, language); var response = new CheckNameResult { Result = result }; return Ok(response); }
public IHttpActionResult CheckName(string storeId, [FromUri]string pageName, [FromUri]string language) { CheckCurrentUserHasPermissionForObjects(ContentPredefinedPermissions.Read, new ContentScopeObject { StoreId = storeId }); var response = new CheckNameResult { Result = true }; return Ok(response); }
public IHttpActionResult CheckName(string storeId, string name, string language, string id = "") { var retVal = _menuService.CheckList(storeId, name, language, id); var response = new CheckNameResult { Result = retVal }; return Ok(response); }