Пример #1
0
        public RESTSingleResponse <IncidentPostResponse> Post([FromBody] IncidentPostParam @params)
        {
            var result = _incidentService.Create(@params);

            return(result);
        }
Пример #2
0
        public RESTSingleResponse <IncidentPostResponse> Create(IncidentPostParam @params)
        {
            var result = _serviceNowClient.Post <IncidentPostResponse, IncidentPostParam>(@params);

            return(result);
        }