Exemplo n.º 1
0
 public HomeController(IEmployeesRepository employeesRepository
                       , IWebHostEnvironment webHostEnvironment,
                       ICarbrandRepository carbrandRepository,
                       IDescriptionRespository descriptionRespository,
                       IOrderRepository orderRepository,
                       IGallerysRepository gallerysRepository,
                       AppDbContext context)
 {
     this.employeesRepository    = employeesRepository;
     this.webHostEnvironment     = webHostEnvironment;
     this.carbrandRepository     = carbrandRepository;
     this.descriptionRespository = descriptionRespository;
     this.orderRepository        = orderRepository;
     this.gallerysRepository     = gallerysRepository;
     this.context = context;
 }
Exemplo n.º 2
0
 public GallerysController(IGallerysRepository gallerysRepository)
 {
     this.gallerysRepository = gallerysRepository;
 }