Example #1
0
 internal Response <List <LangLookup> > LookupPrintFieldTypes(int languageId, long auditUserId, string auditWorkstation)
 {
     try
     {
         return(new Response <List <LangLookup> >(_cardManService.LookupPrintFieldTypes(languageId, auditUserId, auditWorkstation),
                                                  ResponseType.SUCCESSFUL,
                                                  "",
                                                  ""));
     }
     catch (Exception ex)
     {
         log.Error(ex);
         return(new Response <List <LangLookup> >(null,
                                                  ResponseType.ERROR,
                                                  "Error processing request, please try again.",
                                                  log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : ""));
     }
 }