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