コード例 #1
0
 /// <summary>
 /// get all active fontfamily list for filling dropdown
 /// </summary>
 /// <returns></returns>
 public Response <List <Issuer_product_font> > GetFontFamilyList()
 {
     try
     {
         return(new Response <List <Issuer_product_font> >(_cardManService.GetFontFamilyList(),
                                                           ResponseType.SUCCESSFUL, "", ""));
     }
     catch (Exception ex)
     {
         log.Error(ex);
         return(new Response <List <Issuer_product_font> >(null,
                                                           ResponseType.ERROR,
                                                           "Error when processing request.",
                                                           log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : ""));
     }
 }