Example #1
0
 public FinancialYear GetFinancialYear(long id) => fin_repo.GetFirst(a => a.FinancialYearId == id);
Example #2
0
 public IEnumerable <Account> GetCurrentlyActiveAccounts()
 {
     return(Account_Repo.GetList(a => a.FinancialYearId != null && a.IsProcessed != true && a.FinancialYearId == FinancialYear_Repo.GetFirst(b => b.IsActive == true).FinancialYearId));
 }