Exemplo n.º 1
0
        public static async Task <SurveyQuestion> GetSurveyQuestion(string id)
        {
            var surveyQuestion = await SurveyQuestionDataAccess.GetSurveyQuestionById(id);

            return(surveyQuestion);
        }
Exemplo n.º 2
0
        public static Task <List <SurveyQuestion> > GetAllSurveyQuestions()
        {
            var surveyQuestions = SurveyQuestionDataAccess.GetAllSurveyQuestions();

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