public static void SparaXML(ref List <Ingredient> ingredienslista)
 {
     XMLSerializer <List <Ingredient> > .Save(ingredienslista, "ingredienser.xml");
 }
 public static void SparaXML(ref List <Recept> receptlista)
 {
     XMLSerializer <List <Recept> > .Save(receptlista, "receptbok.xml");
 }