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