public VisitStatesController(IVisitStateRepository repo, IMapper map) { _visitStateRepository = repo ?? throw new ArgumentNullException(nameof(repo)); _mapper = map ?? throw new ArgumentNullException(nameof(map)); }
public VisitStatesController(IVisitStateRepository visitStateRepo) { _visitStateRepo = visitStateRepo ?? throw new ArgumentNullException(nameof(visitStateRepo)); }