Added GetTotal Method in API Controllers