private static void AddIfNone(this ITenantDBsDir dir, string glAcctName, GLAcctType glAcctType) { var repo = dir.MarketState.GLAccounts; var matches = repo.Find(_ => _.Name == glAcctName); if (matches.Any()) { return; } repo.Insert(new GLAccountDTO { Name = glAcctName, AccountType = glAcctType }); }
public GLRecapCategory(GLAcctType acctTyp, GLRecapReport mainReport) { AccountType = acctTyp; FillWithSubRows(mainReport); }