Ejemplo n.º 1
0
        public HttpResponseMessage Delete(int id)
        {
            try
            {
                _coordinator.DeleteCoordinator(id);
                var response = new HttpResponseMessage()
                {
                    StatusCode = HttpStatusCode.OK
                };

                return(response);
            }
            catch (Exception)
            {
                var response = new HttpResponseMessage()
                {
                    StatusCode = HttpStatusCode.InternalServerError
                };
                return(response);
            }
        }