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