Beispiel #1
0
        /// <summary>
        /// get all active products list
        /// </summary>
        /// <param name="issuerID"></param>
        /// <param name="pageIndex"></param>
        /// <param name="RowsPerpage"></param>
        /// <returns></returns>
        public Response <List <FontResult> > GetFontListBypage(int pageIndex, int RowsPerpage)
        {
            List <FontResult> fontlist = new List <FontResult>();

            try
            {
                fontlist = _cardManService.GetFontListBypage(pageIndex, RowsPerpage);

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