Esempio n. 1
0
 public Response <List <ServiceRequestCode2> > GetServiceRequestCode3()
 {
     try
     {
         return(new Response <List <ServiceRequestCode2> >(_cardManService.GetServiceRequestCode3(),
                                                           ResponseType.SUCCESSFUL, "", ""));
     }
     catch (Exception ex)
     {
         log.Error(ex);
         return(new Response <List <ServiceRequestCode2> >(null,
                                                           ResponseType.ERROR,
                                                           "Error when processing request.",
                                                           log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : ""));
     }
 }