Beispiel #1
0
 public AccountController()
 {
     _context = new ApplicationDbContext();
     _costCenterRepository      = new CostCenterRepository();
     _applicationUserRepository = new ApplicationUserRepository();
     _travelReportRepository    = new TravelReportRepository();
 }
Beispiel #2
0
 public TravelReportController()
 {
     _travelReportRepository     = new TravelReportRepository();
     _countryAllowanceRepository = new CountryAllowanceRepository();
     _vehicleRepository          = new VehicleRepository();
     _applicationUserRepository  = new ApplicationUserRepository();
     _expenseCategoryRepository  = new ExpenseCategoryRepository();
     _expenseRepository          = new ExpenseRepository();
     _costCenterRepository       = new CostCenterRepository();
 }
Beispiel #3
0
 public VehicleController()
 {
     _vehicleRepository      = new VehicleRepository();
     _travelReportRepository = new TravelReportRepository();
 }
 public CountryAllowanceController()
 {
     _countryAllowanceRepository = new CountryAllowanceRepository();
     _travelReportRepository     = new TravelReportRepository();
 }