public JArray Put(Countries obj) { try { _countries.Update(obj); return(GetCountry()); } catch (Exception) { throw; } }
// PUT: api/Users/5 public HttpResponseMessage Put(Guid id, [FromBody] Country row) { _process.Update(id, row, UpdatedId); return(Request.CreateResponse(HttpStatusCode.OK)); }