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