Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public HttpResponseMessage DeleteResource([FromUri] long id) { try { ResourceRepository.DeleteResourceInfo(id); return(Request.CreateResponse(System.Net.HttpStatusCode.OK, 202)); } catch (Exception ex) { return(Request.CreateErrorResponse(System.Net.HttpStatusCode.NotFound, ex)); } }