public ActionResult <SelectionDTO> MakeSelection([FromBody] IdsDTO dto) { var selection = _selectionService.CreateSelection(dto.Ids); var selectionDTO = new SelectionDTO(selection.Id); return(CreatedAtAction(nameof(GetSelection), new { id = selection.Id }, selectionDTO)); }
public async Task <IActionResult> TrashGroups([FromBody] IdsDTO dto) { await _service.TrashGroupsAsync(dto.Ids); return(NoContent()); }
public static Task PutLolMissionsV1Player([Parameter("ids", "body")] IdsDTO ids) => Sender.Request("put", $"/lol-missions/v1/player", ids);