public MonthLockController() { var dbfactory = new DatabaseFactory(); _AnFMonthLockService = new AnFMonthLockService(new AnFMonthLockRepository(dbfactory), new UnitOfWork(dbfactory)); }
public FinancialYearController() { var dbfactory = new DatabaseFactory(); _fyService = new CmnFinancialYearService(new CmnFinancialYearRepository(dbfactory), new UnitOfWork(dbfactory)); _AnFMonthLockService = new AnFMonthLockService(new AnFMonthLockRepository(dbfactory), new UnitOfWork(dbfactory)); }