Пример #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);
 }