コード例 #1
0
        public async Task <ActionResult <Line> > Put(string lineName, [FromBody] LineDTO request)
        {
            var line = await _service.GetByLineNameAsync(lineName);

            _service.ClearRelationships(request, line);
            line = await _service.UpdateAsync(line, request);

            return(Ok(line));
        }