Esempio n. 1
0
 public HttpResponseMessage Update(SecurityTokenUpdateRequest model)
 {
     if (!ModelState.IsValid)
     {
         return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState));
     }
     _svc.UpdateLinkStatus(model);
     return(Request.CreateResponse(HttpStatusCode.OK));
 }