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