Esempio n. 1
0
        public RESTSingleResponse <IncidentPostResponse> Post([FromBody] IncidentPostParam @params)
        {
            var result = _incidentService.Create(@params);

            return(result);
        }
Esempio n. 2
0
        public RESTSingleResponse <IncidentPostResponse> Create(IncidentPostParam @params)
        {
            var result = _serviceNowClient.Post <IncidentPostResponse, IncidentPostParam>(@params);

            return(result);
        }