public static async Task <SurveyQuestion> GetSurveyQuestion(string id) { var surveyQuestion = await SurveyQuestionDataAccess.GetSurveyQuestionById(id); return(surveyQuestion); }
public static Task <List <SurveyQuestion> > GetAllSurveyQuestions() { var surveyQuestions = SurveyQuestionDataAccess.GetAllSurveyQuestions(); return(surveyQuestions); }
public async static Task UpdateSurveyQuestion(SurveyQuestion surveyQuestion) { await SurveyQuestionDataAccess.UpdateData(surveyQuestion); }
public async static Task <SurveyQuestion> DeleteSurveyQuestion(string id) { return(await SurveyQuestionDataAccess.DeleteData(id)); }
public async static Task InsertSurveyQuestion(SurveyQuestion surveyQuestion) { await SurveyQuestionDataAccess.InsertData(surveyQuestion); }