public PageInformation GetPageInformation(string url) { var pageInformationService = new PageInformationService(); var result = pageInformationService.GetpageInformation(url); return(result); }
public PageInformation GetPageInformation(int id) { try { var pageInformationService = new PageInformationService(); var result = pageInformationService.GetpageInformation(id); return(result); } catch (Exception ex) { LogHelper.Error(typeof(RankOneApiController), "RankOne GetPageInformation Exception", ex); throw; } }