public VehiclesController(IBuyerSellerRepository repo, IMapper mapper, IVehicleRepository repository, IUnitOfWork unitOfWork) { this.repo = repo; this.unitOfWork = unitOfWork; this.repository = repository; this.mapper = mapper; }
public MessagesController(IBuyerSellerRepository repo, IMapper mapper) { _mapper = mapper; _repo = repo; }