public async Task <string> ConnectDogeAccount([FromBody] ConnectDogeAccountDto data) { try { var res = await AccountHandler.ConnectDogeAccount(data.adminCredentials, data, MainDataContext.IsAPIWithCredentials); if (res) { return("OK"); } else { return("Cannot Connect doge account."); } } catch (Exception ex) { throw new HttpResponseException((HttpStatusCode)501, $"Cannot Connect doge account. " + ex.Message); } }