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