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