Ejemplo n.º 1
0
 public HttpResponseMessage GetCode()
 {
     try
     {
         return(Request.CreateResponse <string>(HttpStatusCode.OK, CodeModel.GetStoreExchangeCode()));
     }
     catch (Exception e)
     {
         ExceptionHandler.Log(e);
         return(null);
     }
 }