public int AddFile(FilesEntity file) { this.ClearBrokenRuleMessages(); int result = mgr.AddFile(file); this.AddBrokenRuleMessages(mgr.BrokenRuleMessages); return(result); }