Projects Controller Api rendering Json on method call