public ActionResult <Status> earnMoney(int advertID, string userToken, string requestToken) { var ipAddress = HttpContext.Connection.RemoteIpAddress; communication.log($"userToken -> {userToken}\requestToken -> {requestToken}", MethodBase.GetCurrentMethod().Name, ipAddress.ToString()); Status status; DbInsert insert = new DbInsert(Configuration, _hostingEnvironment); status = insert.EarnMoney(advertID, userToken, requestToken); return(Ok(status)); }