/// <summary> /// get product details to edit record. /// </summary> /// <param name="Productid"></param> /// <returns></returns> public Response <FontResult> GetFont(int fontid) { FontResult productlist = new FontResult(); try { productlist = _cardManService.GetFont(fontid); return(new Response <FontResult>(productlist, ResponseType.SUCCESSFUL, "", "")); } catch (Exception ex) { log.Error(ex); return(new Response <FontResult>(null, ResponseType.ERROR, "Error when processing request.", log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : "")); } }