コード例 #1
0
 public async Task<IActionResult> Put(int id, MeetDTO meetDTO)
 {
     var meet = _mapper.Map<Reunion>(meetDTO);
     meet.Id = id;
     await _meetService.UpdateMeet(meet);
     meetDTO = _mapper.Map<MeetDTO>(meet);
     var apiResponse = new ApiResponse<MeetDTO>(meetDTO);
     return Ok(apiResponse);
 }