Implemented Simple Ajax Call
Added the DI in the code