public virtual async Task <IActionResult> ContentblockDelete([FromBody] ContentblockDto body) { _dbContext.RefreshFullDomain(); await _genService.DeleteAsync(body, (x => { return(x.Contentblockid == body.Contentblockid); })); return(new ObjectResult(true)); }
public virtual async Task <IActionResult> ContentblockUpdatePost([FromBody] ContentblockDto body) { _dbContext.RefreshFullDomain(); var workflowById = await _genService.UpdateAsync(body, (x => { return(x.Contentblockid == body.Contentblockid); })); return(new ObjectResult(workflowById)); }