public OutletsController(IOutletRepo repository) { _repo = repository; }
// creating the repository public OutletController(IOutletRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public GothamAppController(IOutletRepo outlet, IMapper mapper) { _outlet = outlet; _mapper = mapper; }