public IHttpActionResult PutLinkedDoctype([FromBody] DoctypesLinksDTO docTypeLink) { return(DtUtil.Response(Service.UpdateLink(docTypeLink), HttpStatusCode.NotFound, string.Format("Could not update link for document type {0}.", docTypeLink.DocumentType), Request.RequestUri.AbsoluteUri)); }