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