public UnitOfWork(PlutoContext context) { _ILog = Log.GetInstance; _context = context; AppUsers = new UserRepository(context); Students = new StudentRepository(context); PaymentHistories = new PaymentHistoryRepository(context); Payments = new PaymentRepository(context); studentclasses = new StudentClassRepository(context); departments = new DepartmentRepository(context); regions = new RegionRepository(context); studentstatuses = new StudentStatusRepository(context); employees = new EmployeeRepository(context); employeedocuments = new EmployeeDocumentRepository(context); payrollamounts = new PayrollAmountRepository(context); employeecategories = new EmployeeCategoryRepository(context); employeelevelsofeducation = new EmployeeLevelOfEducationRepository(context); payrollrates = new PayrollRateRepository(context); taxrates = new TaxRateRepository(context); ssnitrates = new SSNITRateRepository(context); studentsubjects = new StudentSubjectRepository(context); payrollallowances = new PayrollAllowancesRepository(context); employeetypes = new EmployeeTypeRepository(context); employeeloanhistories = new EmployeeLoanHistoryRepository(context); employeeloans = new EmployeeLoanRepository(context); exams = new ExamRepository(context); marks = new MarkRepository(context); externalhelper = new ExternalHelperRepository(context); hostels = new HostelRepository(context); libraries = new LibraryRepository(context); transports = new TransportRepository(context); expenses = new ExpenseRepository(context); expensecategories = new ExpenseCategoryRepository(context); incomes = new IncomeRepository(context); incomecategories = new IncomeCategoryRepository(context); books = new BookRepository(context); booktypes = new BookTypeRepository(context); rooms = new RoomRepository(context); payrolldates = new PayrollDateRepository(context); allowances = new AllowanceRepository(context); }
public UserRepository(PlutoContext context) : base(context) { }