Exemplo n.º 1
0
        public int PutValue([FromUri] int identifier, [FromBody] ValuesRequestBody request)
        {
            var serviceRequest = new UpdateValueRequest
            {
                Id    = identifier,
                Value = request.Value
            };

            var response = _valueService.UpdateValue(serviceRequest);

            return(response.Id);
        }