Пример #1
0
        public async Task <ActionResult <WorkflowViewModel> > DotWithHistory(string type, int correlationId)
        {
            try
            {
                var result = await _service.DotWithHistoryAsync(type, correlationId);

                return(Ok(result));
            }
            catch (System.Exception)
            {
                return(Ok("NOT FOUND"));
            }
        }
Пример #2
0
        public async Task <ActionResult <WorkflowViewModel> > DotWithHistory(string type, int correlationId)
        {
            var result = await _service.DotWithHistoryAsync(type, correlationId);

            return(Ok(result));
        }