public async Task <IHttpActionResult> DeleteDraft(int pageId) { var command = new DeletePageDraftVersionCommand() { PageId = pageId }; return(await _apiResponseHelper.RunCommandAsync(this, command)); }
public Task DeleteDraftAsync(int pageId) { var command = new DeletePageDraftVersionCommand() { PageId = pageId }; return(ExtendableContentRepository.ExecuteCommandAsync(command)); }
public Task <JsonResult> DeleteDraft(int pageId) { var command = new DeletePageDraftVersionCommand() { PageId = pageId }; return(_apiResponseHelper.RunCommandAsync(command)); }