public Affectation Store(Affectation affectation)
 {
     affectation.Datetime = DateTime.Now;
     _afdtechContext.Affectations.Add(affectation);
     _afdtechContext.SaveChanges();
     return(affectation);
 }
示例#2
0
 public Project Store(Project project)
 {
     _afdtechContext.Projects.Add(project);
     _afdtechContext.SaveChanges();
     return(project);
 }
示例#3
0
 public Consultant Store(Consultant consultant)
 {
     _afdtechContext.Consultants.Add(consultant);
     _afdtechContext.SaveChanges();
     return(consultant);
 }