Help rest api

My web service method is executed after I finish executing other methods

Example

service.GetUsers ()
TotalUser ()

The TotalUser () method is executed first