Example #1
0
 public void DeleteTache(int id)
 {
     SDFactory.GetDataTache().DeleteTache(id);
 }
Example #2
0
 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));
 }
Example #3
0
 public SBTache GetById(int id)
 {
     return(SDFactory.GetDataTache().GetById(id));
 }
Example #4
0
 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));
 }
Example #5
0
 public List <SBTache> GetTaches()
 {
     return(SDFactory.GetDataTache().GetTaches());;
 }