Пример #1
0
        public HttpResponseMessage DeleteAllErrorTracker(HttpRequestMessage request, [FromBody] int errorTrackerId)
        {
            return(GetHttpResponse(request, () =>
            {
                var errorTracker = new ErrorTracker();

                _CoreService.DeleteAllErrorTracker();

                return request.CreateResponse <CodeEntities.ErrorTracker>(HttpStatusCode.OK, errorTracker);
            }));
        }