public HttpResponseMessage UpdateRoles(useRoles myuseRoles) { GetStories myStories = new GetStories(); int lastRecord = myStories.UpdateRoles(myuseRoles); MyOder order = new MyOder(); order.MyData = lastRecord.ToString(); return(Request.CreateResponse <MyOder>(HttpStatusCode.Created, order)); }