Exemplo n.º 1
0
 public PhotosController(
     IHostingEnvironment host, IVechileRepository repository, IPhotoService photoService,
     IMapper mapper, IPhotoRepository photoRepository)
 {
     this.mapper          = mapper;
     this.repository      = repository;
     this.host            = host;
     this.photoRepository = photoRepository;
     this.photoService    = photoService;
 }
Exemplo n.º 2
0
 public VechilesController(IMapper mapper, IVechileRepository repository, IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.repository = repository;
     this.mapper     = mapper;
 }