public virtual ListDetails CreateList(ListDetails details) { return(PolicyService.ExecuteRetryAndCapture400Errors( "ContentModeratorService.CreateList", ApiKeys.ContentModeratorRetryInSeconds, () => { var result = ContentModeratorRepository.CreateList(details); return result; }, null)); }
public virtual ListDetails CreateList(ListDetails details) { try { var result = ContentModeratorRepository.CreateList(details); return(result); } catch (Exception ex) { Logger.Error("ContentModeratorService.CreateList failed", this, ex); } return(null); }