// PUT: api/UserAPI/5
        public HttpResponseMessage Put(HttpRequestMessage request, int id, int matchid, [FromBody] User value)
        {
            // response = Request.CreateResponse<Models.User>(HttpStatusCode.OK, value);
            if (id != value.Id)
            {
                return(request.CreateResponse(HttpStatusCode.NotModified, "Unable to update data"));
            }

            //interfaceobj.UpdateModel(value);
            //interfaceobj.Save();
            userDal.UpdateUserId(id, matchid, value);
            return(request.CreateResponse(HttpStatusCode.OK, "Data updated Successfully"));
        }