コード例 #1
0
 //GetAllSurveys api/<controller>
 //Purpose: Invokes 'GetAllSurveys()' method of SurveyRepo.cs that returns all the records of type 'survey' from the 'Survey' table
 //Input: None
 //Output: A list of answer records from the 'Survey' table
 public IEnumerable <Activity> GetAllSurveys()
 {
     return(Survey1.GetAll());
 }