public async Task <ActionResult <PutCategoryCommandResponse> > Put(PutCategoryCommand request, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(await Mediator.Send(request, cancellationToken));
 }
 public async Task <ActionResult <PutCategoryCommandResponse> > Put([FromRoute] int categoryID, [FromBody] PutCategoryCommand request)
 {
     request.Project(x => x.CategoryID = categoryID);
     return(await Send(request));
 }