/// <summary> /// get all active products list /// </summary> /// <param name="issuerID"></param> /// <param name="pageIndex"></param> /// <param name="RowsPerpage"></param> /// <returns></returns> public Response <List <ProductlistResult> > GetProductsList(int issuerID, int?cardIssueMethodId, bool?deletedYN, int pageIndex, int RowsPerpage) { List <ProductlistResult> productlist = new List <ProductlistResult>(); try { productlist = _cardManService.GetProductsList(issuerID, cardIssueMethodId, deletedYN, pageIndex, RowsPerpage); return(new Response <List <ProductlistResult> >(productlist, ResponseType.SUCCESSFUL, "", "")); } catch (Exception ex) { log.Error(ex); return(new Response <List <ProductlistResult> >(null, ResponseType.ERROR, "Error when processing request.", log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : "")); } }