internal Vacation Get(int id) { Vacation vacation = _repo.Get(id); if (vacation == null) { throw new Exception("invalid id"); } return(vacation); }