Beispiel #1
0
        public HttpResponseMessage UpdateLocation(HttpRequestMessage request, [FromBody] Location obj)
        {
            HttpResponseMessage response = new HttpResponseMessage();

            obj.UpdatedBy = "1";
            response      = _locationProcess.UpdateLocation(obj);
            return(response);
        }
Beispiel #2
0
        public HttpResponseMessage UpdateLocation(HttpRequestMessage request, [FromBody] LocationViewModel obj)
        {
            HttpResponseMessage response = new HttpResponseMessage();

            obj.UpdatedBy = User.Identity.Name;
            response      = _locationProcess.UpdateLocation(obj);
            return(response);
        }