protected static IReportService GetReportService() { var reportRepository = new ReportMockRepository().Items; var areaRepository = new AreaMockRepository().Items; return(new ReportService(areaRepository, reportRepository)); }
protected static IGarageService GetGarageService() { var garageRepository = new GarageMockRepository().Items; var carCategoryRepository = new CarCategoryMockRepository().Items; var areaRepository = new AreaMockRepository().Items; return(new GarageService(garageRepository, carCategoryRepository, areaRepository)); }