public void DeleteTache(int id) { SDFactory.GetDataTache().DeleteTache(id); }
public void UpdateTache(int id, string nom, string description, int responsable, int jalon, int nbJour, int tachePrecedente, int etat, DateTime datePrevu, DateTime dateReelle) { SDFactory.GetDataTache().UpdateTache(new SBTache(id, nom, description, responsable, jalon, nbJour, tachePrecedente, etat, datePrevu, dateReelle)); }
public SBTache GetById(int id) { return(SDFactory.GetDataTache().GetById(id)); }
public void AddTache(string nom, string description, int responsable, int jalon, int nbJour, int tachePrecedente, int etat, DateTime datePrevu) { SDFactory.GetDataTache().InsertTache(new SBTache(nom, description, responsable, jalon, nbJour, tachePrecedente, etat, datePrevu)); }
public List <SBTache> GetTaches() { return(SDFactory.GetDataTache().GetTaches());; }