title: How to turn these two functions into one?
body: <p>first: </p>
  
  <pre><code>public static String ConvertServerToClientAdapter(String adapterServer)
      {
          string temp = adapterServer.Substring(0, adapterServer.IndexOf("/"));
          switch (temp)
          {
              case "f":
                  {
                      return "FA";
                  }
              case "g":
                  {
                      return "Gi";
                  }
              case "s":
                  {
                      return "SE";
                  }
              case "a":
                  {
                      return "ATM";
                  }
              default:
                  return null;
          }
      }
  </code></pre>
  
  <p>second:</p>
  
  <pre><code>public static String ConvertClientToServerAdapter(String adapterClient)
  {
      switch (adapterClient)
      {
          case "FA":
              {
                  return "f";
              }
          case "Gi":
              {
                  return "g";
              }
          case "SE":
              {
                  return "s";
              }
          case "ATM":
              {
                  return "a";
              }
          default:
              return null;
      }
  }
  </code></pre>