Esempio n. 1
0
        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));
        }
Esempio n. 2
0
        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));
        }