Place half of the gratings in an ovenproof form. Shred the salmon and put on the gratin, cut over the dill. Add the rest of the gratin, sprinkle with cheese and cook for about 20 minutes.
Peel and grate the carrots roughly, stir in chopped dill, oil, and vinegar.