private Either <Error, Unit> Handle(BookTransfer cmd) => Right(cmd) .Bind(CheckError) .Bind(Save);
private Either <Error, BookTransfer> CheckError(BookTransfer cmd) => cmd switch {
public ResultDto <Unit> BookTransfer([FromBody] BookTransfer cmd) => Handle(cmd) .ToResult();