Rewrited getAllWorkOrderCostsAsync, moved graph calculations to server side