예제 #1
0
 public SurveyFile Add(SurveyFile SurveyFile)
 {
     context.SurveyFiles.Add(SurveyFile);
     context.SaveChanges();
     return(SurveyFile);
 }
예제 #2
0
 public Surveyor Add(Surveyor surveyor)
 {
     context.Surveyors.Add(surveyor);
     context.SaveChanges();
     return(surveyor);
 }