public Salarie GetSalarie(String Prenom)
        {
            Salarie Sal = new Salarie();

            Sal = cont.Salaries.Where(s => s.Prenom == Prenom).FirstOrDefault();
            return(Sal);
        }
 public void DelSalarie(Salarie Sal)
 {
     cont.Salaries.Remove(Sal);
     cont.SaveChanges();
 }
 public void AddSalarie(Salarie Sal)
 {
     cont.Salaries.Add(Sal);
     cont.SaveChanges();
 }