Esempio n. 1
0
        protected static IReportService GetReportService()
        {
            var reportRepository = new ReportMockRepository().Items;
            var areaRepository   = new AreaMockRepository().Items;

            return(new ReportService(areaRepository, reportRepository));
        }
Esempio n. 2
0
        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));
        }