示例#1
0
        public static async Task <SurveyQuestion> GetSurveyQuestion(string id)
        {
            var surveyQuestion = await SurveyQuestionDataAccess.GetSurveyQuestionById(id);

            return(surveyQuestion);
        }
示例#2
0
        public static Task <List <SurveyQuestion> > GetAllSurveyQuestions()
        {
            var surveyQuestions = SurveyQuestionDataAccess.GetAllSurveyQuestions();

            return(surveyQuestions);
        }
示例#3
0
 public async static Task UpdateSurveyQuestion(SurveyQuestion surveyQuestion)
 {
     await SurveyQuestionDataAccess.UpdateData(surveyQuestion);
 }
示例#4
0
 public async static Task <SurveyQuestion> DeleteSurveyQuestion(string id)
 {
     return(await SurveyQuestionDataAccess.DeleteData(id));
 }
示例#5
0
 public async static Task InsertSurveyQuestion(SurveyQuestion surveyQuestion)
 {
     await SurveyQuestionDataAccess.InsertData(surveyQuestion);
 }