public ActionResult <List <Development.SDK.Module.Data.Common.Error> > Inspect(Development.SDK.Module.Service.Data.Requests.ConfigInformation config) { try { // This processor needs no clean up method return(NoContent()); } catch (Exception ex) { // EX: DEMO-0000 _logger?.Critcial("DEMO-0000", "The following error occurred while executing the processor. Error: {0}", ex.Message); return(this.StatusCode(500, ex.Message)); } }
public ActionResult <Development.SDK.Module.Data.Export.Dependency> CollectReferences(Development.SDK.Module.Service.Data.Requests.ConfigInformation config) { try { // This processor needs no clean up method //return Ok(_analytics.CollectReferences(config.Config)); return(NoContent()); } catch (Exception ex) { // EX: DEMO-0000 _logger?.Critcial("DEMO-0000", "The following error occurred while executing the processor. Error: {0}", ex.Message); return(this.StatusCode(500, ex.Message)); } }