public Task <IEnumerable <WhilistBasketDto> > Handle(UpdateWhilistBasketById request, CancellationToken cancellationToken) { throw new System.NotImplementedException(); }
public async Task <IActionResult> UpdateById([FromBody] UpdateWhilistBasketById command) { var result = await mediator.Send(command); return(CreatedAtAction("UpdateById", new { x = result.Select(x => x.id).ToList(), result })); }