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