public static DataSet ManageFlashcardSlides(int compId, string userId, int flashcardId, string title, int contentId, string description, int action) { DataSet ds = new DataSet(); try { ds = QuizDAL.ManageFlashcardSlides(compId, userId, flashcardId, title, contentId, description, action); } catch (Exception ex) { Log(ex, System.Reflection.MethodBase.GetCurrentMethod().Name); } return(ds); }
public static DataSet ManageFlashcardIntro(int compId, string userId, int type, int introId, string title, string comments, int contentId, int action) { DataSet ds = new DataSet(); try { ds = QuizDAL.ManageFlashcardIntro(compId, userId, type, introId, title, comments, contentId, action); } catch (Exception ex) { Log(ex, System.Reflection.MethodBase.GetCurrentMethod().Name); } return(ds); }
public static DataSet ManageAnsOptions(int compId, string userId, int contentId, int questionId, int answerId, string title, bool isCorrect, double score, int action) { DataSet ds = new DataSet(); try { ds = QuizDAL.ManageAnsOptions(compId, userId, contentId, questionId, answerId, title, isCorrect, score, action); } catch (Exception ex) { Log(ex, System.Reflection.MethodBase.GetCurrentMethod().Name); } return(ds); }
public static DataSet UpdateQuizDetails(int compId, int topicId, int moduleId, int contentId, double totalScore, double passingScore, double passingPercent) { DataSet ds = new DataSet(); try { ds = QuizDAL.UpdateQuizDetails(compId, topicId, moduleId, contentId, totalScore, passingScore, passingPercent); } catch (Exception ex) { Log(ex, System.Reflection.MethodBase.GetCurrentMethod().Name); } return(ds); }
public static DataSet ManageQuestion(int compId, string userId, int questionId, int contentId, bool isMandatory, bool isMultiline, string title, int qType, bool isBox, int action) { DataSet ds = new DataSet(); try { ds = QuizDAL.ManageQuestion(compId, userId, questionId, contentId, isMandatory, isMultiline, title, qType, isBox, action); } catch (Exception ex) { Log(ex, System.Reflection.MethodBase.GetCurrentMethod().Name); } return(ds); }
public static DataSet SaveSurvey(int compId, string userId, int contentId, string title, string description, string overview, bool isPublished, double totalScore, double passingScore, double passingPercent) { DataSet ds = new DataSet(); try { ds = QuizDAL.SaveSurvey(compId, userId, contentId, title, description, overview, isPublished, totalScore, passingScore, passingPercent); } catch (Exception ex) { Log(ex, System.Reflection.MethodBase.GetCurrentMethod().Name); } return(ds); }