예제 #1
0
        public async Task <IActionResult> DeleteJobHistory([FromRoute] long id)
        {
            _log.LogDebug($"REST request to delete JobHistory : {id}");
            await _jobHistoryService.Delete(id);

            return(Ok().WithHeaders(HeaderUtil.CreateEntityDeletionAlert(EntityName, id.ToString())));
        }